From dcbec0c2dc42137d6a6c304ee006c5bbd2dc7aaf Mon Sep 17 00:00:00 2001 From: aastabk Date: Fri, 25 Jul 2025 09:53:23 +0200 Subject: [PATCH 1/2] Equipment buttons moved up. Mark as seen button has consistent styling. --- .../templates/staff/components/seen_column.html | 2 +- .../templates/staff/equipmentorder_detail.html | 15 +-------------- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/src/staff/templates/staff/components/seen_column.html b/src/staff/templates/staff/components/seen_column.html index 8b8dd9c3..a30dd5e8 100644 --- a/src/staff/templates/staff/components/seen_column.html +++ b/src/staff/templates/staff/components/seen_column.html @@ -3,5 +3,5 @@
{% csrf_token %} - +
diff --git a/src/staff/templates/staff/equipmentorder_detail.html b/src/staff/templates/staff/equipmentorder_detail.html index fc6a68ac..8bd24687 100644 --- a/src/staff/templates/staff/equipmentorder_detail.html +++ b/src/staff/templates/staff/equipmentorder_detail.html @@ -12,6 +12,7 @@

Order {{ object }}

Back + Assign staff
{% object-detail-staff object=object %} @@ -31,18 +32,4 @@
Requested Equipment
{% endfor %} {% /table %} - -
- Back - Assign staff - {% comment %} - {% if object.status == 'draft' %} - Edit - Edit requested equipment - {% url 'genrequest-order-confirm' genrequest_id=object.genrequest_id pk=object.id as confirm_order_url %} - {% action-button action=confirm_order_url class="bg-secondary text-white" submit_text="Deliver order" csrf_token=csrf_token %} - Delete - {% endif %} - {% endcomment %} -
{% endblock %} From 92e6e594a05f15cee88067ad4d6eda11a7174eae Mon Sep 17 00:00:00 2001 From: aastabk Date: Fri, 25 Jul 2025 13:05:06 +0200 Subject: [PATCH 2/2] Mark as seen button follows correct styling --- src/staff/templates/staff/analysisorder_detail.html | 4 +++- src/staff/templates/staff/components/seen_column.html | 4 +++- src/staff/templates/staff/extractionorder_detail.html | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/staff/templates/staff/analysisorder_detail.html b/src/staff/templates/staff/analysisorder_detail.html index 91f4c877..cfded782 100644 --- a/src/staff/templates/staff/analysisorder_detail.html +++ b/src/staff/templates/staff/analysisorder_detail.html @@ -19,7 +19,9 @@

Order {{ object }}

{% if not object.is_seen %}
{% csrf_token %} - +
{% endif %} diff --git a/src/staff/templates/staff/components/seen_column.html b/src/staff/templates/staff/components/seen_column.html index a30dd5e8..7424cb32 100644 --- a/src/staff/templates/staff/components/seen_column.html +++ b/src/staff/templates/staff/components/seen_column.html @@ -3,5 +3,7 @@
{% csrf_token %} - +
diff --git a/src/staff/templates/staff/extractionorder_detail.html b/src/staff/templates/staff/extractionorder_detail.html index f132f1fa..006de46d 100644 --- a/src/staff/templates/staff/extractionorder_detail.html +++ b/src/staff/templates/staff/extractionorder_detail.html @@ -19,7 +19,9 @@

Order {{ object }}

{% if not object.is_seen %}
{% csrf_token %} - +
{% endif %}