mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-08 06:28:25 -04: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" %}
|
{% extends "govuk_template.html" %}
|
||||||
|
|
||||||
|
|
||||||
{% block page_title %}
|
{% block page_title %}
|
||||||
GOV.UK notifications admin
|
GOV.UK notifications admin
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|
||||||
{% block cookie_message %}
|
{% block cookie_message %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|
||||||
{% block inside_header %}
|
{% block inside_header %}
|
||||||
<div class="phase-banner-beta">
|
<div class="phase-banner-beta">
|
||||||
|
|
||||||
@@ -15,5 +18,13 @@ GOV.UK notifications admin
|
|||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|
||||||
{% set global_header_text = "GOV.UK Notify" %}
|
{% 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