Make all services for an organisation available to platform admin users

This commit is contained in:
Chris Hill-Scott
2019-03-21 11:59:58 +00:00
parent eaa7af8692
commit de68d720c7

View File

@@ -12,7 +12,7 @@
<ul>
{% for service in organisation_services %}
<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>
{% else %}
{{ service['name'] }}