Fix unclosed em in map list when map is anonymous

This commit is contained in:
Yohan Boniface 2013-07-26 15:51:50 +02:00
parent bd6ed636d2
commit fdb9bd5e46

View file

@ -3,7 +3,7 @@
{% for map_inst in maps %}
<div class="col _35">
{% map_fragment map_inst %}
<div class="tintbox"><strong>{{ map_inst.name }}</strong>{% if map_inst.description %} — «{{ map_inst.description }}» {% endif %}<em>{% if map_inst.owner %} {% trans "Cooked up by" %} <a href="{% url 'user_maps' map_inst.owner.username %}">{{ map_inst.owner }}</a></em>{% endif %} — <a href="{{ map_inst.get_absolute_url }}">{% trans "See this map!" %}</a></div>
<div class="tintbox"><strong>{{ map_inst.name }}</strong>{% if map_inst.description %} — «{{ map_inst.description }}» {% endif %}{% if map_inst.owner %} <em>{% trans "Cooked up by" %} <a href="{% url 'user_maps' map_inst.owner.username %}">{{ map_inst.owner }}</a></em>{% endif %} — <a href="{{ map_inst.get_absolute_url }}">{% trans "See this map!" %}</a></div>
</div>
{% endfor %}
{% if maps.has_next %}