mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
Merge pull request #329 from alphagov/move-history-link-up
Updates to side nav
This commit is contained in:
@@ -5,14 +5,18 @@
|
||||
ul,
|
||||
h2 {
|
||||
@include core-19;
|
||||
border-bottom: 1px solid $border-colour;
|
||||
margin: 10px 20px 15px 0;
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
ul {
|
||||
border-bottom: 1px solid $border-colour;
|
||||
padding: 0 0 10px 0;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-weight: bold;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
li {
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
<h2 class="navigation-service-name">
|
||||
<a href="{{ url_for('.service_dashboard', service_id=service_id) }}">{{ session.get('service_name', 'Service') }}</a>
|
||||
</h2>
|
||||
<ul>
|
||||
<li><a href="{{ url_for('.view_notifications', service_id=service_id) }}">View activity</a></li>
|
||||
</ul>
|
||||
{% if current_user.has_permissions(['send_texts', 'send_emails', 'send_letters']) %}
|
||||
<ul>
|
||||
<li><a href="{{ url_for('.choose_template', service_id=service_id, template_type='sms') }}">Send text messages</a></li>
|
||||
@@ -21,14 +24,9 @@
|
||||
{% endif %}
|
||||
{% if current_user.has_permissions(['manage_api_keys', 'access_developer_docs']) %}
|
||||
<ul>
|
||||
<li><a href="{{ url_for('.api_keys', service_id=service_id) }}">API keys</a></li>
|
||||
<li><a href="{{ url_for('.api_keys', service_id=service_id) }}">Manage API keys</a></li>
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
||||
<ul>
|
||||
<li><a href="{{ url_for('.view_notifications', service_id=service_id) }}">Notification history</a></li>
|
||||
<li><a href="{{ url_for('.view_jobs', service_id=service_id) }}">Job history</a><li>
|
||||
</ul>
|
||||
{% if current_user.has_permissions(admin_override=True) %}
|
||||
<ul>
|
||||
<li><a href="{{ url_for('.show_all_services') }}"> List all services </a></li>
|
||||
|
||||
Reference in New Issue
Block a user