Change TO fragment to a macro to make it reusable in the builder and view page, final tweaks to review and view pages

This commit is contained in:
leigh-mil
2019-12-23 11:44:53 -05:00
parent 2e088d1316
commit e25f519243
9 changed files with 97 additions and 84 deletions

View File

@@ -1,4 +1,5 @@
{% from "components/sticky_cta.html" import StickyCTA %}
{% from "task_orders/fragments/task_order_view.html" import TaskOrderView %}
{% extends 'portfolios/base.html' %}
@@ -11,6 +12,6 @@
{% endcall %}
<div class="task-order">
{% include "task_orders/fragments/task_order_view.html" %}
{{ TaskOrderView(task_order, portfolio) }}
</div>
{% endblock %}