From 2c72d33b8420db69044c5693c4079b83ca58bab3 Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Fri, 20 Sep 2019 11:31:09 +0000 Subject: [PATCH] Added class 'bg-danger' to submission error messages. The big 'Meta-Data errors found' pane on red background is so noticeable that class 'text-danger' which gives bold text is insufficient to stand out clearly. Adding 'bg-danger' gives the specific error messages red background, too. - Legacy-Id: 16736 --- ietf/templates/submit/submission_status.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/ietf/templates/submit/submission_status.html b/ietf/templates/submit/submission_status.html index ee2f1ad41..981de304c 100644 --- a/ietf/templates/submit/submission_status.html +++ b/ietf/templates/submit/submission_status.html @@ -152,7 +152,7 @@ {% show_submission_files submission %} {% if errors.files %} -

{{ errors.files|safe }}

+

{{ errors.files|safe }}

{% endif %} @@ -164,7 +164,7 @@ {% if errors.rev %} -

{{ errors.rev }}

+

{{ errors.rev }}

{% endif %} @@ -174,7 +174,7 @@ {{ submission.group|default:"Individual Submission" }} {% if errors.group %} -

{{ errors.group }}

+

{{ errors.group }}

{% endif %} @@ -184,7 +184,7 @@ {{ submission.document_date }} {% if errors.document_date %} -

{{ errors.document_date }}

+

{{ errors.document_date }}

{% endif %} @@ -198,7 +198,7 @@ Title {{ submission.title|default:"" }} - {% if errors.title %}

{{ errors.title }}

{% endif %} + {% if errors.title %}

{{ errors.title }}

{% endif %} @@ -206,7 +206,7 @@ Authors {{ submission.authors|length }} author{{ submission.authors|pluralize }} - {% if errors.authors %}

{{ errors.authors|safe }}

{% endif %} + {% if errors.authors %}

{{ errors.authors|safe }}

{% endif %} @@ -244,7 +244,7 @@ Abstract {{ submission.abstract|linebreaksbr }} - {% if errors.abstract %}

{{ errors.abstract }}

{% endif %} + {% if errors.abstract %}

{{ errors.abstract }}

{% endif %} @@ -252,7 +252,7 @@ Pages {{ submission.pages }} - {% if errors.pages %}

{{ errors.pages }}

{% endif %} + {% if errors.pages %}

{{ errors.pages }}

{% endif %} @@ -265,7 +265,7 @@ Formal languages used {% for l in submission.formal_languages.all %}{{ l.name }}{% if not forloop.last %}, {% endif %}{% empty %}None recognized{% endfor %} - {% if errors.formal_languages %}

{{ errors.formal_languages }}

{% endif %} + {% if errors.formal_languages %}

{{ errors.formal_languages }}

{% endif %}