Add links to download CSP estimate

This commit is contained in:
Patrick Smith
2019-01-21 16:57:30 -05:00
parent 30be2a5018
commit eb4f3f4871
3 changed files with 22 additions and 3 deletions

View File

@@ -133,7 +133,7 @@
<div class="panel__content">
{{ DocumentLink(
title="Cloud Services Estimate",
link_url="#") }}
link_url=task_order.csp_estimate and url_for("task_orders.download_csp_estimate", task_order_id=task_order.id) ) }}
{{ DocumentLink(
title="Market Research",
link_url="#") }}

View File

@@ -113,7 +113,7 @@
<div class="row">
{% call ReviewField(("task_orders.new.review.performance_period" | translate), task_order.performance_length, filter="translateDuration") %}
<p><a href="#" class='icon-link icon-link--left' download>{{ Icon('download') }} {{ "task_orders.new.review.usage_est_link" | translate }}</a></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></p>
{% endcall %}
<div class="col col--grow">