fix edit links and formatting in TO review template
This commit is contained in:
parent
c024d12e3b
commit
5cf2534445
@ -12,26 +12,28 @@
|
||||
|
||||
{% include "fragments/flash.html" %}
|
||||
|
||||
{% macro TOEditLink(screen=1) %}
|
||||
{% if task_order %}
|
||||
{% set edit_link = EditLink(url_for("task_orders.new", screen=1, task_order_id=task_order.id)) %}
|
||||
{{ EditLink(url_for("task_orders.new", screen=screen, task_order_id=task_order.id)) }}
|
||||
{% else %}
|
||||
{% set edit_link = EditLink(url_for("task_orders.new", screen=1)) %}
|
||||
{{ EditLink(url_for("task_orders.new", screen=screen)) }}
|
||||
{% endif %}
|
||||
{% endmacro %}
|
||||
|
||||
<section>
|
||||
<h3>Scope (Statement of Work) {{ edit_link }}</h3>
|
||||
<h3>Scope (Statement of Work) {{ TOEditLink() }}</h3>
|
||||
<p>
|
||||
{{ task_order.scope or RequiredLabel() }}
|
||||
</p>
|
||||
|
||||
<div class="row">
|
||||
<div class="col col--grow">
|
||||
<h3>Period of Performance length {{ edit_link }}</h3>
|
||||
<h3>Period of Performance length {{ TOEditLink(screen=2) }}</h3>
|
||||
{{ task_order.period or RequiredLabel() }}
|
||||
</div>
|
||||
|
||||
<div class="col col--grow">
|
||||
<h3>Total funding requested {{ edit_link }}</h3>
|
||||
<h3>Total funding requested {{ TOEditLink(screen=2) }}</h3>
|
||||
{{ task_order.budget }}
|
||||
</div>
|
||||
</div>
|
||||
@ -55,7 +57,8 @@
|
||||
{{ Icon('download') }}
|
||||
Market Research
|
||||
</a>
|
||||
</li>
|
||||
</li
|
||||
>
|
||||
|
||||
{% if task_order %}
|
||||
<li>
|
||||
|
Loading…
x
Reference in New Issue
Block a user