mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-06 19:38:24 -04:00
Merge pull request #2073 from alphagov/back-to-only-authed
Only show ‘back to service name’ link if signed in
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
{% block fullwidth_content %}
|
||||
<div id="content">
|
||||
{% if current_service %}
|
||||
{% if current_service and current_user.is_authenticated %}
|
||||
<div class="navigation-service">
|
||||
<a href="{{ url_for('main.show_accounts_or_dashboard') }}">Back to {{ current_service.name }}</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user