Skip to content

Commit

Permalink
added UX changes based on PR review
Browse files Browse the repository at this point in the history
  • Loading branch information
zenmonkeykstop committed Dec 4, 2020
1 parent e9ec01e commit c3a6407
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions securedrop/source_templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
{% if g.organization_name == "SecureDrop" %}
<title>{{ g.organization_name }} | {{ gettext('Protecting Journalists and Sources') }}</title>
{% else %}
<title>{{ g.organization_name }} | {{ gettext('SecureDrop') }}</title>
{% endif %}

<link rel="stylesheet" href="/static/css/source.css">
<link rel="icon" type="image/png" href="/static/i/favicon.png">
Expand Down
6 changes: 5 additions & 1 deletion securedrop/source_templates/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
<!DOCTYPE html>
<html lang="{{ g.html_lang }}" dir="{{ g.text_direction }}">
<head>
<title> {{ g.organization_name }} | {{ gettext('Protecting Journalists and Sources') }}</title>
{% if g.organization_name == "SecureDrop" %}
<title>{{ g.organization_name }} | {{ gettext('Protecting Journalists and Sources') }}</title>
{% else %}
<title>{{ g.organization_name }} | {{ gettext('SecureDrop') }}</title>
{% endif %}

<link rel="stylesheet" href="/static/css/source.css">
<link rel="icon" type="image/png" href="/static/i/favicon.png">
Expand Down

0 comments on commit c3a6407

Please sign in to comment.