mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Show name instead of Id of ground units in faction selection screen.
This commit is contained in:
parent
2c0ca5803f
commit
61253e4d4d
@ -16,7 +16,13 @@
|
|||||||
<strong>Frontlines vehicles:</strong>
|
<strong>Frontlines vehicles:</strong>
|
||||||
<ul>
|
<ul>
|
||||||
{% for vehicle in faction.frontline_units %}
|
{% for vehicle in faction.frontline_units %}
|
||||||
<li>{{vehicle.id}}</li>
|
<li>
|
||||||
|
{% if vehicle.name is not none %}
|
||||||
|
{{ vehicle.name }}
|
||||||
|
{% else %}
|
||||||
|
{{ vehicle.id }}
|
||||||
|
{%endif %}
|
||||||
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
<br/>
|
<br/>
|
||||||
@ -24,7 +30,13 @@
|
|||||||
<strong>Artillery units:</strong>
|
<strong>Artillery units:</strong>
|
||||||
<ul>
|
<ul>
|
||||||
{% for arty in faction.artillery_units %}
|
{% for arty in faction.artillery_units %}
|
||||||
<li>{{arty.id}}</li>
|
<li>
|
||||||
|
{% if arty.name is not none %}
|
||||||
|
{{ arty.name }}
|
||||||
|
{% else %}
|
||||||
|
{{ arty.id }}
|
||||||
|
{%endif %}
|
||||||
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
<br/>
|
<br/>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user