mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-07 16:28:25 -04:00
Make all services for an organisation available to platform admin users
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
<ul>
|
<ul>
|
||||||
{% for service in organisation_services %}
|
{% for service in organisation_services %}
|
||||||
<li class="browse-list-item">
|
<li class="browse-list-item">
|
||||||
{% if service.has_permission_to_view %}
|
{% if service.has_permission_to_view or current_user.platform_admin %}
|
||||||
<a href="{{ url_for('main.service_dashboard', service_id=service.id) }}" class="browse-list-link">{{ service['name'] }}</a>
|
<a href="{{ url_for('main.service_dashboard', service_id=service.id) }}" class="browse-list-link">{{ service['name'] }}</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ service['name'] }}
|
{{ service['name'] }}
|
||||||
|
|||||||
Reference in New Issue
Block a user