Show disabled button for download on task order review page
This commit is contained in:
parent
d5342514a8
commit
2bea2af297
@ -117,6 +117,9 @@
|
||||
<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>
|
||||
</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 %}
|
||||
{% endcall %}
|
||||
|
||||
|
@ -437,6 +437,7 @@ task_orders:
|
||||
dod_id: 'DoD ID:'
|
||||
invited: Invited
|
||||
not_invited: Not Yet Invited
|
||||
not_uploaded: Not Uploaded
|
||||
testing:
|
||||
example_string: Hello World
|
||||
example_with_variables: 'Hello, {name}!'
|
||||
|
Loading…
x
Reference in New Issue
Block a user