mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
Merge pull request #19 from alphagov/home-link
Changed main GOV.UK link depending on whether user is logged in or not
This commit is contained in:
@@ -1,12 +1,15 @@
|
||||
{% extends "govuk_template.html" %}
|
||||
|
||||
|
||||
{% block page_title %}
|
||||
GOV.UK notifications admin
|
||||
{% endblock %}
|
||||
|
||||
|
||||
{% block cookie_message %}
|
||||
{% endblock %}
|
||||
|
||||
|
||||
{% block inside_header %}
|
||||
<div class="phase-banner-beta">
|
||||
|
||||
@@ -15,5 +18,13 @@ GOV.UK notifications admin
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
||||
{% set global_header_text = "GOV.UK Notify" %}
|
||||
|
||||
|
||||
{% if not current_user.is_authenticated() %}
|
||||
{% set homepage_url = url_for('main.index') %}
|
||||
{% else %}
|
||||
{% set homepage_url = url_for('main.dashboard') %}
|
||||
{% endif %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user