mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-30 02:50:03 -04:00
When a user deletes their service we take them to the ‘Choose service’ page. Like other non-service-specific pages this has a link to the last service you were looking at. But in this specific case the last service you were looking at is the one you’ve just deleted. Which means the link is confusing because: - you thought the thing was ‘gone’ - we’ve secretly renamed it to ‘_archived Example service name’ So this commit hides the link in this specific case.
16 lines
554 B
HTML
16 lines
554 B
HTML
{% extends "admin_template.html" %}
|
|
|
|
{% block fullwidth_content %}
|
|
<div id="content">
|
|
{% if current_service and current_service.active 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 %}
|