Use function to generate list for performance period instead of hard coding all of the text
This commit is contained in:
@@ -34,10 +34,6 @@
|
||||
{% set team_experience_description = "forms.task_order.team_experience.{}".format(task_order.team_experience) | translate %}
|
||||
{% endif %}
|
||||
|
||||
{% if task_order.performance_length %}
|
||||
{% set performance_length_description = "forms.task_order.performance_length.{}".format(task_order.performance_length) | translate %}
|
||||
{% endif %}
|
||||
|
||||
|
||||
<h3 class="subheading">{{ "task_orders.new.review.app_info"| translate }} {{ TOEditLink(screen=1) }}</h3>
|
||||
|
||||
@@ -121,7 +117,7 @@
|
||||
<div class="row">
|
||||
<div class="col col--grow">
|
||||
<h4 class='task-order-form__heading'>{{ "task_orders.new.review.performance_period"| translate }}</h4>
|
||||
{{ performance_length_description or RequiredLabel() }}
|
||||
{{ task_order.performance_length | translateDuration or RequiredLabel() }}
|
||||
<p><a href="#" class='icon-link icon-link--left' download>{{ Icon('download') }} {{ "task_orders.new.review.usage_est_link"| translate }}</a></p>
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user