commit
de7097e55b
@ -27,7 +27,7 @@
|
|||||||
icon='funding',
|
icon='funding',
|
||||||
text='navigation.portfolio_navigation.breadcrumbs.funding' | translate,
|
text='navigation.portfolio_navigation.breadcrumbs.funding' | translate,
|
||||||
url=url_for("task_orders.portfolio_funding", portfolio_id=portfolio.id),
|
url=url_for("task_orders.portfolio_funding", portfolio_id=portfolio.id),
|
||||||
active=request.url_rule.endpoint in ["task_orders.portfolio_funding", "task_orders.review_task_order"],
|
active=request.url_rule.endpoint in ["task_orders.portfolio_funding", "task_orders.review_task_order", "task_orders.edit"],
|
||||||
) }}
|
) }}
|
||||||
{{ Link(
|
{{ Link(
|
||||||
icon='applications',
|
icon='applications',
|
||||||
|
@ -96,7 +96,9 @@
|
|||||||
|
|
||||||
|
|
||||||
{% call StickyCTA(text="Funding") %}
|
{% call StickyCTA(text="Funding") %}
|
||||||
<a href="{{ url_for("task_orders.edit", portfolio_id=portfolio.id) }}" class="usa-button usa-button-primary" type="submit">Start a new task order</a>
|
{% if user_can(permissions.CREATE_TASK_ORDER) %}
|
||||||
|
<a href="{{ url_for("task_orders.edit", portfolio_id=portfolio.id) }}" class="usa-button usa-button-primary" type="submit">Start a new task order</a>
|
||||||
|
{% endif %}
|
||||||
{% endcall %}
|
{% endcall %}
|
||||||
|
|
||||||
{% include "fragments/flash.html" %}
|
{% include "fragments/flash.html" %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user