From 753ccbc2a6e18bebe3b80fc8484bdc698979bdb2 Mon Sep 17 00:00:00 2001 From: James Person Date: Tue, 24 Oct 2023 10:14:49 -0400 Subject: [PATCH] Certification Unlock Copy & Styling Updates (#2595) * Ready for certification - remove bolded & reformat * Submissions homepage - icon on own line & format * Certification unlock - format, copy, links. * upload-cancel -> form-cancel * "Straight quotation marks boo" Co-authored-by: Tadhg O'Higgins <2626258+tadhg-ohiggins@users.noreply.github.com> --------- Co-authored-by: Tadhg O'Higgins <2626258+tadhg-ohiggins@users.noreply.github.com> --- .../ready-for-certification.html | 11 ++- .../audit/templates/audit/my_submissions.html | 10 ++- .../audit/unlock-after-certification.html | 71 +++++++++---------- 3 files changed, 46 insertions(+), 46 deletions(-) diff --git a/backend/audit/templates/audit/cross-validation/ready-for-certification.html b/backend/audit/templates/audit/cross-validation/ready-for-certification.html index f8e210fbf8..9a587f4d2a 100644 --- a/backend/audit/templates/audit/cross-validation/ready-for-certification.html +++ b/backend/audit/templates/audit/cross-validation/ready-for-certification.html @@ -7,18 +7,17 @@ {% csrf_token %}
Lock for certification -

You are now ready to lock your single audit submission for auditee and auditor certification. Each must review and certify the documents before they can be submitted to the FAC.

- - Once the single audit submission is locked for certification, you will not be able to edit or make changes to your data. - + You are now ready to lock your single audit submission for auditee and auditor certification. Each must review and certify the documents before they can be submitted to the FAC.

Make sure you save copies of your documents to your local drive before moving on to the next steps as the FAC does not maintain versions for you.

- Cancel + Cancel
diff --git a/backend/audit/templates/audit/my_submissions.html b/backend/audit/templates/audit/my_submissions.html index 17aea078bc..f24f186718 100644 --- a/backend/audit/templates/audit/my_submissions.html +++ b/backend/audit/templates/audit/my_submissions.html @@ -34,7 +34,15 @@

Audits in progress

{{ item.submission_status }} - {% if item.submission_status == "Ready For Certification" %}{% endif%} + {% if item.submission_status == "Ready For Certification" %} +

+ + + +

+ {% endif%} {{ item.auditee_name }} {{ item.report_id }} diff --git a/backend/audit/templates/audit/unlock-after-certification.html b/backend/audit/templates/audit/unlock-after-certification.html index 8816007805..a224502c7f 100644 --- a/backend/audit/templates/audit/unlock-after-certification.html +++ b/backend/audit/templates/audit/unlock-after-certification.html @@ -1,48 +1,41 @@ {% extends "base.html" %} {% load static %} {% block content %} -
+
-

Unlock after certification

{% if submission_status == target_status %} -
- {% csrf_token %} -
- - {% comment %} This div is the grey box, and should handle its own margins and padding. {% endcomment %} -
-
- - I understand that this will move the submission back to an in-progress, editable state and that it will need to be marked as ready for certification again in future. - - -
- -
- -
- - Cancel -
-
-
-
-
+
+ {% csrf_token %} +
+ Unlock submission +

+ {% comment %} ‑ is a non-breaking hyphen, to avoid splitting "re-validated" across two lines. {% endcomment %} + I understand that by unlocking this submission it will need to be re‑validated before certification. +

+ +
+
+ + Cancel +
+
{% else %} -

This form is only accessible for submissions with a ready for certification status.

- - {% endif%} +

This form is only accessible for submissions with a “Ready for Certification” status. This submission is not locked for certification.

+ {% endif %}
{% include "audit-metadata.html" %}