Files
notifications-admin/app/templates/views/choose-account.html
T

45 lines
1.4 KiB
HTML
Raw Normal View History

{% extends "withoutnav_template.html" %}
2016-01-13 14:43:21 +00:00
2017-02-13 10:45:15 +00:00
{% block per_page_title %}
Choose service
2016-01-13 14:43:21 +00:00
{% endblock %}
{% block maincolumn_content %}
2016-01-13 14:43:21 +00:00
<h1 class="heading-large">
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>
{% if can_add_service %}
2019-04-30 11:32:36 +01:00
<div class="js-stick-at-bottom-when-scrolling">
<a href="{{ url_for('.add_service') }}" class="button-secondary">Add a new service</a>
</div>
{% endif %}
2016-01-13 14:43:21 +00:00
{% endblock %}