{% if media.media_data.has_key('exif')
and app_config['exif_visible']
and media.media_data.exif.has_key('useful') %}
- <h4>EXIF</h4>
+ <h3 class="sidedata">EXIF</h3>
<table>
{% for key, tag in media.media_data.exif.useful.items() %}
<tr>
{% if media.media_data.has_key('gps')
and app_config['geolocation_map_visible']
and media.media_data.gps %}
- <h4>Map</h4>
+ <h3 class="sidedata">Location</h3>
<div>
{% set gps = media.media_data.gps %}
<div id="tile-map" style="width: 100%; height: 196px;">
#}
{% block license_content -%}
+ <h3 class="sidedata">{% trans %}License{% endtrans %}</h3>
<p>
- {% trans %}License:{% endtrans %}
{% if media.license %}
<a href="{{ media.license }}">{{ media.get_license_data().abbreviation }}</a>
{% else %}
#}
{% block tags_content -%}
- <p>{% trans %}View more media tagged with{% endtrans %}
+ <h3 class="sidedata">Tagged with</h3>
+ <p>
{% for tag in media.tags %}
{% if loop.last %}
{# the 'and' should only appear if there is more than one tag #}
{% if media.tags|length > 1 %}
- {% trans %}or{% endtrans %}
+ ·
{% endif %}
<a href="{{ request.urlgen(
'mediagoblin.listings.tags_listing',
- tag=tag['slug']) }}">{{ tag['name'] }}</a>.
+ tag=tag['slug']) }}">{{ tag['name'] }}</a>
{% elif loop.revindex == 2 %}
<a href="{{ request.urlgen(
'mediagoblin.listings.tags_listing',
{% else %}
<a href="{{ request.urlgen(
'mediagoblin.listings.tags_listing',
- tag=tag['slug']) }}">{{ tag['name'] }}</a>,
+ tag=tag['slug']) }}">{{ tag['name'] }}</a> ·
{% endif %}
{% endfor %}
</p>