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> </tr>
{% endif %} {% endif %}
{% endwith %} {% endwith %}
{% if unit.location %}
<tr> <tr>
<th>{% trans "Used in" %}</th> <th>{% trans "Used in" %}</th>
<td>{{ unit.get_location_links }}</td> <td>{{ unit.get_location_links }}</td>
</tr> </tr>
{% endif %}
<tr> <tr>
<th>{% trans "Flags" %}</th> <th>{% trans "Flags" %}</th>
<td>{{ unit.flags }}</td> <td>{{ unit.flags }}</td>