Combine similar routes and templates, delete unused TO form templates

This commit is contained in:
leigh-mil
2019-06-03 14:37:02 -04:00
committed by Montana
parent 0a2d241dc4
commit b97ae02a93
14 changed files with 47 additions and 532 deletions

View File

@@ -93,7 +93,7 @@
{% call StickyCTA(text="Funding") %}
<div class='portfolio-funding__header row'>
<a href="{{ url_for("task_orders.new", portfolio_id=portfolio.id) }}" class="usa-button">Start a new task order</a>
<a href="{{ url_for("task_orders.edit", portfolio_id=portfolio.id) }}" class="usa-button">Start a new task order</a>
</div>
{% endcall %}
@@ -125,7 +125,7 @@
{{ EmptyState(
'This portfolio doesnt have any active or pending task orders.',
action_label='Add a New Task Order',
action_href=url_for('task_orders.new', portfolio_id=portfolio.id),
action_href=url_for('task_orders.edit', portfolio_id=portfolio.id),
icon='cloud',
) }}
{% endif %}