Add sticky CTA to applications index page and update copy in TO index sticky CTA

This commit is contained in:
leigh-mil
2019-12-03 15:03:55 -05:00
parent 8e25adb1c3
commit 5ebcaa3950
3 changed files with 12 additions and 14 deletions

View File

@@ -93,9 +93,9 @@
{% endmacro %}
{% call StickyCTA(text="Funding") %}
{% if user_can(permissions.CREATE_TASK_ORDER) %}
<a href="{{ url_for("task_orders.form_step_one_add_pdf", portfolio_id=portfolio.id) }}" class="usa-button usa-button-primary" type="submit">Start a new task order</a>
{% call StickyCTA(text="Task Orders") %}
{% if user_can(permissions.CREATE_TASK_ORDER) and task_orders %}
<a href="{{ url_for("task_orders.form_step_one_add_pdf", portfolio_id=portfolio.id) }}" class="usa-button usa-button-primary">Add New Task Order</a>
{% endif %}
{% endcall %}