2016-02-01 12:15:38 +00:00
|
|
|
{% extends "withoutnav_template.html" %}
|
2016-01-13 14:43:21 +00:00
|
|
|
|
2017-02-13 10:45:15 +00:00
|
|
|
{% block per_page_title %}
|
2018-03-15 11:02:05 +00:00
|
|
|
Choose service
|
2016-01-13 14:43:21 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
|
2016-02-01 12:15:38 +00:00
|
|
|
{% block maincolumn_content %}
|
2016-01-13 14:43:21 +00:00
|
|
|
|
2016-02-02 14:05:45 +00:00
|
|
|
<h1 class="heading-large">
|
2018-03-15 11:02:05 +00:00
|
|
|
Choose service
|
2016-01-13 14:43:21 +00:00
|
|
|
</h1>
|
2018-03-09 10:38:33 +00:00
|
|
|
<nav class="browse-list">
|
|
|
|
|
<ul>
|
|
|
|
|
{% for org in organisations %}
|
|
|
|
|
<li class="browse-list-item">
|
2018-03-08 14:15:01 +00:00
|
|
|
<a href="{{ url_for('.organisation_dashboard', org_id=org.id) }}" class="browse-list-link">{{ org.name }}</a>
|
2018-03-09 10:38:33 +00:00
|
|
|
{% if org.services %}
|
|
|
|
|
<ul class="browse-sub-list">
|
|
|
|
|
{% for item in org.services %}
|
|
|
|
|
<li class="browse-list-sub-item">
|
|
|
|
|
<a href="{{ url_for('.service_dashboard', service_id=item.id) }}" class="browse-list-link">{{ item.name }}</a>
|
|
|
|
|
</li>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</ul>
|
|
|
|
|
{% endif %}
|
|
|
|
|
</li>
|
|
|
|
|
<div class ="keyline-block"></div>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
{% if services_without_organisations %}
|
2018-03-08 14:15:01 +00:00
|
|
|
{% for item in services_without_organisations %}
|
|
|
|
|
<li class="browse-list-item">
|
|
|
|
|
<a href="{{ url_for('.service_dashboard', service_id=item.id) }}" class="browse-list-link">{{ item.name }}</a>
|
|
|
|
|
</li>
|
|
|
|
|
{% endfor %}
|
2018-03-09 10:38:33 +00:00
|
|
|
<div class ="keyline-block"></div>
|
|
|
|
|
{% endif %}
|
2018-03-13 08:23:29 +00:00
|
|
|
</ul>
|
2016-10-25 18:12:46 +01:00
|
|
|
{% if can_add_service %}
|
2018-03-09 10:38:33 +00:00
|
|
|
<a href="{{ url_for('.add_service') }}" class="browse-list-link">Add a new service…</a>
|
2016-10-25 18:12:46 +01:00
|
|
|
{% endif %}
|
2016-01-13 14:43:21 +00:00
|
|
|
|
|
|
|
|
{% endblock %}
|