mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 22:40:31 -04:00
Link to all services from organisation
Because a member of the organisation can now see some pages for any live service they should be able to click into each one.
This commit is contained in:
@@ -10,13 +10,9 @@
|
||||
Services
|
||||
</h1>
|
||||
<ul>
|
||||
{% for service in organisation_services %}
|
||||
{% for service in current_org.live_services %}
|
||||
<li class="browse-list-item">
|
||||
{% 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'] }}
|
||||
{% endif %}
|
||||
<a href="{{ url_for('main.service_dashboard', service_id=service.id) }}" class="browse-list-link">{{ service['name'] }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
</h1>
|
||||
{{ live_search(target_selector='.browse-list-item', show=True, form=search_form, label='Search by name') }}
|
||||
<ul>
|
||||
{% for service in services %}
|
||||
{% for service in current_org.trial_services %}
|
||||
<li class="browse-list-item">
|
||||
<a href="{{ url_for('main.service_dashboard', service_id=service.id) }}" class="browse-list-link">{{ service['name'] }}</a>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user