mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-10 05:14:05 -05:00
This can happen if you click a link for a service you don’t have access to. We shouldn’t show the back to service link in this case because: - you shouldn’t be able to find out the service’s name from just knowing the link - if you click the link you only get a `403` anyway
16 lines
527 B
HTML
16 lines
527 B
HTML
{% extends "admin_template.html" %}
|
|
|
|
{% block fullwidth_content %}
|
|
<div id="content">
|
|
{% if current_service and current_user.is_authenticated and current_user.belongs_to_service(current_service.id) %}
|
|
<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 %}
|