Rename view TO file and update sticky header
This commit is contained in:
16
templates/task_orders/view.html
Normal file
16
templates/task_orders/view.html
Normal file
@@ -0,0 +1,16 @@
|
||||
{% from "components/sticky_cta.html" import StickyCTA %}
|
||||
|
||||
{% extends 'portfolios/base.html' %}
|
||||
|
||||
{% block portfolio_content %}
|
||||
|
||||
{% call StickyCTA(text="Task Order #{}".format(task_order.number)) %}
|
||||
{% if user_can(permissions.EDIT_TASK_ORDER_DETAILS) and not task_order.is_expired %}
|
||||
<a class="sticky-cta--link" href="{{ url_for('task_orders.edit', task_order_id=task_order.id) }}">Correct an Error</a>
|
||||
{% endif %}
|
||||
{% endcall %}
|
||||
|
||||
<div class="task-order">
|
||||
{% include "task_orders/fragments/task_order_view.html" %}
|
||||
</div>
|
||||
{% endblock %}
|
Reference in New Issue
Block a user