Show disabled button for download on task order review page

This commit is contained in:
Patrick Smith 2019-01-22 14:10:01 -05:00
parent d5342514a8
commit 2bea2af297
2 changed files with 4 additions and 0 deletions

View File

@ -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 %}

View File

@ -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}!'