mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-13 09:50:08 -04:00
This commit moves user-related navigation into the proposition header (the black bar) at the top of the site. It adds some custom SASS to override GOV.UK template and align these navigation items to the right (because it looks better). It then removes the service chooser dropdown (and its associated SASS and JS) in favour of a link alongside the user-related navigation items. ‘Switch service’ is the best language for this that we’ve come up with so far. This means that the only way of adding a new service is from the `/services` page. So this commit removes the redirect if you land on this page with only one service (else it would prevent you from ever being able to add more).
23 lines
1.0 KiB
HTML
23 lines
1.0 KiB
HTML
<nav class="navigation">
|
|
<h2 class="navigation-service-name">
|
|
{{ session.get('service_name', 'Choose service') }}
|
|
</h2>
|
|
<ul>
|
|
<li><a href="{{ url_for('.service_dashboard', service_id=service_id) }}">Dashboard</a></li>
|
|
</ul>
|
|
<ul>
|
|
<li><a href="{{ url_for('.send_sms', service_id=service_id) }}">Send text messages</a></li>
|
|
<li><a href="{{ url_for('.send_email', service_id=service_id) }}">Send emails</a></li>
|
|
<li><a href="{{ url_for('.view_jobs', service_id=service_id) }}">Activity</a></li>
|
|
<li><a href="{{ url_for('.manage_service_templates', service_id=service_id) }}">Templates</a></li>
|
|
</ul>
|
|
<ul>
|
|
<li><a href="{{ url_for('.documentation', service_id=service_id) }}">Developer documentation</a></li>
|
|
<li><a href="{{ url_for('.api_keys', service_id=service_id) }}">API keys</a></li>
|
|
</ul>
|
|
<ul>
|
|
<li><a href="{{ url_for('.manage_users', service_id=service_id) }}">Manage users</a></li>
|
|
<li><a href="{{ url_for('.service_settings', service_id=service_id) }}">Service settings</a></li>
|
|
</ul>
|
|
</nav>
|