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>
|
||||
<ul>
|
||||
{% 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 %}
|
||||
</ul>
|
||||
<br/>
|
||||
@ -24,7 +30,13 @@
|
||||
<strong>Artillery units:</strong>
|
||||
<ul>
|
||||
{% 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 %}
|
||||
</ul>
|
||||
<br/>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user