Start TO form template

This commit is contained in:
leigh-mil
2019-06-03 11:48:51 -04:00
committed by Montana
parent 91e41199b7
commit e7771f789b
12 changed files with 66 additions and 46 deletions

View File

@@ -6,11 +6,10 @@
{% block content %}
{{
EmptyState(
action_href=url_for("task_orders.get_started"),
action_href="#",
action_label=("portfolios.index.empty.start_button" | translate),
icon="cloud",
message=("portfolios.index.empty.title" | translate),
)
}}
{% endblock %}

View File

@@ -93,7 +93,7 @@
{% call StickyCTA(text="Funding") %}
<div class='portfolio-funding__header row'>
<a href="{{ url_for("task_orders.new", screen=1, portfolio_id=portfolio.id) }}" class="usa-button">Start a new task order</a>
<a href="{{ url_for("task_orders.new", 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', screen=1, portfolio_id=portfolio.id),
action_href=url_for('task_orders.new', portfolio_id=portfolio.id),
icon='cloud',
) }}
{% endif %}