From b0fec688c89d5a4ad95343daade81f456b8067a5 Mon Sep 17 00:00:00 2001 From: DrGFreeman Date: Tue, 17 Nov 2020 23:01:10 -0500 Subject: [PATCH] =?UTF-8?q?Replace=20"=C2=AB"=20with=20left=20chevron=20PN?= =?UTF-8?q?G=20icon?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace the "«" character in different "navigate back to X" links with a left chevron PNG icon. Alt tag of icons is set to "" so they are ignored by assistive technologies (image considered decorative). --- .../files/usr.sbin.apache2 | 1 + .../journalist_templates/admin_add_user.html | 3 ++- securedrop/journalist_templates/config.html | 3 ++- securedrop/journalist_templates/edit_account.html | 5 ++++- .../source_templates/why-journalist-key.html | 5 ++++- securedrop/static/icons/chevron-left.png | Bin 0 -> 582 bytes 6 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 securedrop/static/icons/chevron-left.png diff --git a/install_files/ansible-base/roles/build-securedrop-app-code-deb-pkg/files/usr.sbin.apache2 b/install_files/ansible-base/roles/build-securedrop-app-code-deb-pkg/files/usr.sbin.apache2 index 8343c25bd0..67ca97926a 100644 --- a/install_files/ansible-base/roles/build-securedrop-app-code-deb-pkg/files/usr.sbin.apache2 +++ b/install_files/ansible-base/roles/build-securedrop-app-code-deb-pkg/files/usr.sbin.apache2 @@ -307,6 +307,7 @@ /var/www/securedrop/static/i/x_icon-sd_blue.png r, /var/www/securedrop/static/icons/bell.png r, /var/www/securedrop/static/icons/check.png r, + /var/www/securedrop/static/icons/chevron-left.png r, /var/www/securedrop/static/icons/chevron-right.png r, /var/www/securedrop/static/icons/download.png r, /var/www/securedrop/static/icons/edit-user.png r, diff --git a/securedrop/journalist_templates/admin_add_user.html b/securedrop/journalist_templates/admin_add_user.html index bc38aafe02..35523aa311 100644 --- a/securedrop/journalist_templates/admin_add_user.html +++ b/securedrop/journalist_templates/admin_add_user.html @@ -1,7 +1,8 @@ {% extends "base.html" %} {% block body %}

- « {{ gettext('Back to admin interface') }} + + {{ gettext('Back to admin interface') }}

diff --git a/securedrop/journalist_templates/config.html b/securedrop/journalist_templates/config.html index bc5fa3057c..e203d4434c 100644 --- a/securedrop/journalist_templates/config.html +++ b/securedrop/journalist_templates/config.html @@ -1,7 +1,8 @@ {% extends "base.html" %} {% block body %}

- « {{ gettext('Back to admin interface') }} + + {{ gettext('Back to admin interface') }}

{{ gettext('Instance Configuration') }}

diff --git a/securedrop/journalist_templates/edit_account.html b/securedrop/journalist_templates/edit_account.html index 346c04efa1..3556be9d04 100644 --- a/securedrop/journalist_templates/edit_account.html +++ b/securedrop/journalist_templates/edit_account.html @@ -4,7 +4,10 @@ {% if user %} {# Only admins may edit usernames and admin status #}

{{ gettext('Edit user "{user}"').format(user=user.username) }}

-

« {{ gettext('Back to admin interface') }}

+

+ + {{ gettext('Back to admin interface') }} +

{{ gettext('Change Name and Admin Status') }}

diff --git a/securedrop/source_templates/why-journalist-key.html b/securedrop/source_templates/why-journalist-key.html index 2165838ace..c1c484b67c 100644 --- a/securedrop/source_templates/why-journalist-key.html +++ b/securedrop/source_templates/why-journalist-key.html @@ -20,5 +20,8 @@

{{ gettext("Why download the team's public key?") }}

{{ gettext('Important: If you wish to remain anonymous, do not use GPG to sign the encrypted file (with the --sign or -s flag) as this will reveal your GPG identity to us.')|safe }}

-

« {{ gettext('Back to submission page') }}

+

+ + {{ gettext('Back to submission page') }} +

{% endblock %} diff --git a/securedrop/static/icons/chevron-left.png b/securedrop/static/icons/chevron-left.png new file mode 100644 index 0000000000000000000000000000000000000000..aeecc0582e35e82d5bc54e721978d9aa8c85512c GIT binary patch literal 582 zcmV-M0=fN(P)qa(?ny4NLs;|K9G&#r&|iRh=BNp}vXbntOO0dr>Sf8FJW* z_i+86`2B_AE>%oN&a8vQ-uf6IUxBmO+a_>8!efbI!V?udafv5RV!Im4ScZ}D2gH>$ UCfD6Q(*OVf07*qoM6N<$f^p0C?*IS* literal 0 HcmV?d00001