dcs-retribution/resources/ui/templates/factiontemplate_EN.j2

51 lines
803 B
Django/Jinja

{{ faction.description|safe }}
<br/>
<strong>Author(s):</strong> {{ faction.authors }}
<br/><br/>
<strong>Available aircrafts:</strong>
<ul>
{% for aircraft in faction.aircrafts %}
<li>{{aircraft.name}}</li>
{% endfor %}
</ul>
<br/>
<strong>Frontlines vehicles:</strong>
<ul>
{% for vehicle in faction.frontline_units %}
<li>
{% if vehicle.name is not none %}
{{ vehicle.name }}
{% else %}
{{ vehicle.id }}
{%endif %}
</li>
{% endfor %}
</ul>
<br/>
<strong>Artillery units:</strong>
<ul>
{% for arty in faction.artillery_units %}
<li>
{% if arty.name is not none %}
{{ arty.name }}
{% else %}
{{ arty.id }}
{%endif %}
</li>
{% endfor %}
</ul>
<br/>
<strong>Air defenses:</strong>
<ul>
{% for air_defense in faction.air_defenses %}
<li>{{air_defense}}</li>
{% endfor %}
</ul>
<br/>