diff --git a/ordr2/templates/orders/list.jinja2 b/ordr2/templates/orders/list.jinja2 index 97def3c..336bf81 100644 --- a/ordr2/templates/orders/list.jinja2 +++ b/ordr2/templates/orders/list.jinja2 @@ -56,9 +56,11 @@
- - | + {% if request.has_permission('edit', context) or request.has_permission('delete', context) %} ++ + | + {% endif %} {{ macros.sortable_table_header('Date Created', 'created') }} {{ macros.sortable_table_header('CAS / Description', 'cas') }} {{ macros.sortable_table_header('Vendor', 'vendor') }} @@ -76,9 +78,11 @@ {% for order in orders %}|||
---|---|---|---|---|
- - | + {% if request.has_permission('edit', context) or request.has_permission('delete', context) %} ++ + | + {% endif %}{{ order.model.created_date }} | {{ order.model.cas_description }} | {{ order.model.vendor }} |