Rename review route and template to view because it better reflects the purpose of the route and template
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
{% endif %}
|
||||
{% endset %}
|
||||
<div class="accordion__content--list-item">
|
||||
<h4><a href="{{ url_for('task_orders.review_task_order', task_order_id=task_order.id) }}">{{ to_number }} {{ Icon("caret_right", classes="icon--tiny icon--primary" ) }}</a></h4>
|
||||
<h4><a href="{{ url_for('task_orders.view_task_order', task_order_id=task_order.id) }}">{{ to_number }} {{ Icon("caret_right", classes="icon--tiny icon--primary" ) }}</a></h4>
|
||||
{% if status != 'Expired' -%}
|
||||
<div class="row">
|
||||
<div class="col col--grow">
|
||||
|
@@ -11,6 +11,6 @@
|
||||
{% endcall %}
|
||||
|
||||
<div class="task-order">
|
||||
{% include "task_orders/fragments/task_order_review.html" %}
|
||||
{% include "task_orders/fragments/task_order_view.html" %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
@@ -13,5 +13,5 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block to_builder_form_field %}
|
||||
{% include "task_orders/fragments/task_order_review.html" %}
|
||||
{% include "task_orders/fragments/task_order_view.html" %}
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user