Add status to alerts pending approval

Now that pending alerts aren’t in their own section there’s nothing to
label them as pending. So this commit replaces the extra metadata we
show for a pending alert (the name of the person who created it, which
was only ever a reckon) with an explicit label that says it’s waiting
for approval.
This commit is contained in:
Chris Hill-Scott
2020-10-26 11:20:32 +00:00
parent 24bafba29c
commit 74e92e708e
2 changed files with 3 additions and 3 deletions

View File

@@ -28,7 +28,7 @@
{% call field(align='right') %}
{% if item.status == 'pending-approval' %}
<p class="govuk-body govuk-!-margin-top-6 govuk-!-margin-bottom-0 govuk-hint">
Prepared by {{ item.created_by.name }}
Waiting for approval
</p>
{% elif item.status == 'broadcasting' %}
<p class="govuk-body govuk-!-margin-top-6 govuk-!-margin-bottom-0 live-broadcast">