dcs_liberation/resources/ui/templates/factiontemplate_FR.j2
2022-08-31 09:47:17 -07:00

51 lines
904 B
Django/Jinja

{{ faction.description|safe }}
<br/>
<strong>Auteur(s):</strong> {{ faction.authors }}
<br/><br/>
<strong>Aéronefs disponibles :</strong>
<ul>
{% for aircraft in faction.aircrafts | sort(attribute="name") %}
<li>{{aircraft.name}}</li>
{% endfor %}
</ul>
<br/>
<strong>Véhicules disponibles :</strong>
<ul>
{% for vehicle in faction.frontline_units | sort(attribute="name") %}
<li>
{% if vehicle.name is not none %}
{{ vehicle.name }}
{% else %}
{{ vehicle.id }}
{%endif %}
</li>
{% endfor %}
</ul>
<br/>
<strong>Pièces d'artillerie :</strong>
<ul>
{% for arty in faction.artillery_units | sort(attribute="name") %}
<li>
{% if arty.name is not none %}
{{ arty.name }}
{% else %}
{{ arty.id }}
{%endif %}
</li>
{% endfor %}
</ul>
<br/>
<strong>Défense Sol-Air:</strong>
<ul>
{% for air_defense in faction.air_defenses | sort() %}
<li>{{air_defense}}</li>
{% endfor %}
</ul>
<br/>