Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace "«" with left chevron PNG icon in "Back to X" navigation links #5641

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
3 changes: 2 additions & 1 deletion securedrop/journalist_templates/admin_add_user.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{% extends "base.html" %}
{% block body %}
<p>
<a href="/admin">« {{ gettext('Back to admin interface') }}</a>
<img src="{{ url_for('static', filename='icons/chevron-left.png') }}" class="icon" width="9" height="14" alt="">
<a href="/admin">{{ gettext('Back to admin interface') }}</a>
</p>
<form method="post">
<input name="csrf_token" type="hidden" value="{{ csrf_token() }}">
Expand Down
3 changes: 2 additions & 1 deletion securedrop/journalist_templates/config.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{% extends "base.html" %}
{% block body %}
<p>
<a href="/admin">« {{ gettext('Back to admin interface') }}</a>
<img src="{{ url_for('static', filename='icons/chevron-left.png') }}" class="icon" width="9" height="14" alt="">
<a href="/admin">{{ gettext('Back to admin interface') }}</a>
</p>

<h1>{{ gettext('Instance Configuration') }}</h1>
Expand Down
5 changes: 4 additions & 1 deletion securedrop/journalist_templates/edit_account.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
{% if user %}
{# Only admins may edit usernames and admin status #}
<h1>{{ gettext('Edit user "{user}"').format(user=user.username) }}</h1>
<p><a href="/admin">« {{ gettext('Back to admin interface') }}</a></p>
<p>
<img src="{{ url_for('static', filename='icons/chevron-left.png') }}" class="icon" width="9" height="14" alt="">
<a href="/admin">{{ gettext('Back to admin interface') }}</a>
</p>
<h2>{{ gettext('Change Name and Admin Status') }}</h2>
<form method="post">
<input name="csrf_token" type="hidden" value="{{ csrf_token() }}">
Expand Down
5 changes: 4 additions & 1 deletion securedrop/source_templates/why-journalist-key.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,8 @@ <h1>{{ gettext("Why download the team's public key?") }}</h1>

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

<p><a href="/lookup">« {{ gettext('Back to submission page') }}</a></p>
<p>
<img src="{{ url_for('static', filename='icons/chevron-left.png') }}" class="icon" width="9" height="14" alt="">
<a href="/lookup">{{ gettext('Back to submission page') }}</a>
</p>
{% endblock %}
Binary file added securedrop/static/icons/chevron-left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.