From c3a6407491710b05be82a281dfe6baeeda3921b5 Mon Sep 17 00:00:00 2001 From: Kevin O'Gorman Date: Fri, 4 Dec 2020 10:35:18 -0500 Subject: [PATCH] added UX changes based on PR review --- securedrop/source_templates/base.html | 4 ++++ securedrop/source_templates/index.html | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/securedrop/source_templates/base.html b/securedrop/source_templates/base.html index 3fe0ffb0b46..ccddb30b42a 100644 --- a/securedrop/source_templates/base.html +++ b/securedrop/source_templates/base.html @@ -3,7 +3,11 @@ + {% if g.organization_name == "SecureDrop" %} {{ g.organization_name }} | {{ gettext('Protecting Journalists and Sources') }} + {% else %} + {{ g.organization_name }} | {{ gettext('SecureDrop') }} + {% endif %} diff --git a/securedrop/source_templates/index.html b/securedrop/source_templates/index.html index 2a5b633651d..e371769518d 100644 --- a/securedrop/source_templates/index.html +++ b/securedrop/source_templates/index.html @@ -1,7 +1,11 @@ - {{ g.organization_name }} | {{ gettext('Protecting Journalists and Sources') }} + {% if g.organization_name == "SecureDrop" %} + {{ g.organization_name }} | {{ gettext('Protecting Journalists and Sources') }} + {% else %} + {{ g.organization_name }} | {{ gettext('SecureDrop') }} + {% endif %}