Add dev team options to translations file so they can be used in the to review template

This commit is contained in:
leigh-mil
2019-01-15 16:53:18 -05:00
parent 08555e543e
commit 7891432e90
4 changed files with 22 additions and 9 deletions

View File

@@ -73,7 +73,12 @@
<ul class="checklist">
{% for item in task_order.dev_team %}
<li>
{{ Icon('ok', classes='icon--gray icon--medium') }}{{ item.title() }}{% if item == 'other' %}: {{ task_order.dev_team_other }}{% endif %}
{% if item == 'other' %}
{{ Icon('ok', classes='icon--gray icon--medium') }}Other: {{ task_order.dev_team_other }}
{% else %}
{{ Icon('ok', classes='icon--gray icon--medium') }}{{ "forms.task_order.dev_team.{}".format(item) | translate }}
{% endif %}
</li>
{% endfor %}
</ul>