Files
notifications-admin/app/templates/withoutnav_template.html
Chris Hill-Scott f9421789d0 Only show ‘back to service name’ link if signed in
When you’re not signed in you can still have a service in your session.
But there’s no point trying to get to its dashboard until you’re signed
in – you’ll just be sent back to the ‘sign in’ page.
2018-05-09 15:32:46 +01:00

16 lines
471 B
HTML

{% extends "admin_template.html" %}
{% block fullwidth_content %}
<div id="content">
{% 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>
{% endif %}
<main role="main">
{% include 'flash_messages.html' %}
{% block maincolumn_content %}{% endblock %}
</main>
</div>
{% endblock %}