Link to usage, not dashboard

Organisation team members only have access to the dashboard if they’re
also a member of that service.

They always have access to the usage page, so let’s link there instead.
This commit is contained in:
Chris Hill-Scott
2019-06-20 15:38:16 +01:00
parent 873272160c
commit e6733d7e24
4 changed files with 8 additions and 8 deletions
@@ -1,18 +1,18 @@
{% extends "org_template.html" %}
{% block org_page_title %}
Services
Usage
{% endblock %}
{% block maincolumn_content %}
<h1 class="heading-medium">
Services
Usage
</h1>
<ul>
{% for service in current_org.live_services %}
<li class="browse-list-item">
<a href="{{ url_for('main.service_dashboard', service_id=service.id) }}" class="browse-list-link">{{ service['name'] }}</a>
<a href="{{ url_for('main.usage', service_id=service.id) }}" class="browse-list-link">{{ service['name'] }}</a>
</li>
{% endfor %}
</ul>