mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-18 13:39:41 -04:00
move platform admin links platform admin page
removed "View providers" and "List all services" from the choose service page and the left-hand nav bar
This commit is contained in:
@@ -16,11 +16,5 @@
|
||||
{% if current_user.has_permissions(['manage_api_keys']) %}
|
||||
<li><a href="{{ url_for('.api_keys', service_id=current_service.id) }}">API keys</a></li>
|
||||
{% endif %}
|
||||
{% if current_user.has_permissions(admin_override=True) %}
|
||||
<li><a href="{{ url_for('.show_all_services') }}"> List all services </a></li>
|
||||
{% endif %}
|
||||
{% if current_user.has_permissions(admin_override=True) %}
|
||||
<li><a href="{{ url_for('.view_providers') }}">View providers</a></li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
@@ -10,14 +10,6 @@
|
||||
<h1 class="heading-large">
|
||||
Choose service
|
||||
</h1>
|
||||
{% if current_user.has_permissions(admin_override=True) %}
|
||||
{{ browse_list([
|
||||
{
|
||||
'title': 'List all services',
|
||||
'link': url_for('.show_all_services')
|
||||
}
|
||||
]) }}
|
||||
{% endif %}
|
||||
|
||||
{{ browse_list(services) }}
|
||||
{{ browse_list([
|
||||
|
||||
@@ -11,6 +11,15 @@
|
||||
Platform admin
|
||||
</h1>
|
||||
|
||||
<insert platform admin content here>
|
||||
{{ browse_list([
|
||||
{
|
||||
'title': 'List all services',
|
||||
'link': url_for('.show_all_services')
|
||||
},
|
||||
{
|
||||
'title': 'View providers',
|
||||
'link': url_for('.view_providers')
|
||||
},
|
||||
]) }}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user