Show location only if there is one
This commit is contained in:
parent
22f1bacfab
commit
63ad1af21f
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user