Show disabled button for download on task order review page
This commit is contained in:
parent
d5342514a8
commit
2bea2af297
@ -117,6 +117,9 @@
|
|||||||
<p>
|
<p>
|
||||||
<a href="{{ url_for("task_orders.download_csp_estimate", task_order_id=task_order.id) }}" class='icon-link icon-link--left' download>{{ Icon('download') }} {{ "task_orders.new.review.usage_est_link"| translate }}</a>
|
<a href="{{ url_for("task_orders.download_csp_estimate", task_order_id=task_order.id) }}" class='icon-link icon-link--left' download>{{ Icon('download') }} {{ "task_orders.new.review.usage_est_link"| translate }}</a>
|
||||||
</p>
|
</p>
|
||||||
|
{% else %}
|
||||||
|
<a href="{{ url_for("task_orders.download_csp_estimate", task_order_id=task_order.id) }}" class='icon-link icon-link--left icon-link--disabled' aria-disabled="true">{{ Icon('download') }} {{ "task_orders.new.review.usage_est_link"| translate }}</a>
|
||||||
|
{{ Icon('alert', classes='icon--red') }} <span class="task-order-invite-message not-sent">{{ "task_orders.new.review.not_uploaded"| translate }}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endcall %}
|
{% endcall %}
|
||||||
|
|
||||||
|
@ -437,6 +437,7 @@ task_orders:
|
|||||||
dod_id: 'DoD ID:'
|
dod_id: 'DoD ID:'
|
||||||
invited: Invited
|
invited: Invited
|
||||||
not_invited: Not Yet Invited
|
not_invited: Not Yet Invited
|
||||||
|
not_uploaded: Not Uploaded
|
||||||
testing:
|
testing:
|
||||||
example_string: Hello World
|
example_string: Hello World
|
||||||
example_with_variables: 'Hello, {name}!'
|
example_with_variables: 'Hello, {name}!'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user