Show location only if there is one

This commit is contained in:
Michal Čihař 2012-03-05 14:33:11 +01:00
parent 22f1bacfab
commit 63ad1af21f

View File

@ -72,10 +72,12 @@
</tr>
{% endif %}
{% endwith %}
{% if unit.location %}
<tr>
<th>{% trans "Used in" %}</th>
<td>{{ unit.get_location_links }}</td>
</tr>
{% endif %}
<tr>
<th>{% trans "Flags" %}</th>
<td>{{ unit.flags }}</td>