Files
notifications-admin/app/templates/withoutnav_template.html
Chris Hill-Scott 51d736178c Add back to service link
When we moved the ‘Switch service’ link out of the nav on non-service
pages it removed any obvious way of getting back to your service on a
page that doesn’t have the service navigation (the non-obvious way is to
click ‘GOV.UK Notify’ in the black bar).

So this commit adds a ‘Back to service’ link which does the same thing
as clicking ‘GOV.UK Notify’ (tries to send you to your last-used
service, sends you to the list of services if it can’t).
2017-03-14 14:51:28 +00:00

16 lines
436 B
HTML

{% extends "admin_template.html" %}
{% block fullwidth_content %}
<div id="content">
{% if current_user.is_authenticated %}
<div class="navigation-service">
<a href="{{ url_for('main.show_all_services_or_dashboard') }}">Back to service</a>
</div>
{% endif %}
<main role="main">
{% include 'flash_messages.html' %}
{% block maincolumn_content %}{% endblock %}
</main>
</div>
{% endblock %}