2018-02-08 12:19:21 +00:00
|
|
|
{% extends "views/platform-admin/_base_template.html" %}
|
|
|
|
|
{% from "components/page-footer.html" import page_footer %}
|
|
|
|
|
|
2018-02-08 15:41:31 +00:00
|
|
|
{% block per_page_title %}
|
2018-02-09 10:28:41 +00:00
|
|
|
Organisations
|
2018-02-08 15:41:31 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
|
2018-02-14 16:13:11 +00:00
|
|
|
{% block org_page_title %}
|
2018-02-09 10:28:41 +00:00
|
|
|
Organisations
|
2018-02-08 12:19:21 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block platform_admin_content %}
|
|
|
|
|
|
|
|
|
|
<h1 class="heading-large">
|
2018-02-09 10:28:41 +00:00
|
|
|
Organisations
|
2018-02-08 12:19:21 +00:00
|
|
|
</h1>
|
2018-02-09 10:28:41 +00:00
|
|
|
<nav class="browse-list">
|
2018-02-12 09:26:13 +00:00
|
|
|
<ul>
|
2018-02-08 12:19:21 +00:00
|
|
|
{% for org in organisations %}
|
2018-02-09 10:28:41 +00:00
|
|
|
<li class="browse-list-item">
|
2018-02-13 14:49:03 +00:00
|
|
|
<a href="{{ url_for('main.organisation_dashboard', org_id=org['id']) }}" class="browse-list-link">{{ org['name'] }}</a>
|
2018-02-08 12:19:21 +00:00
|
|
|
{% if not org['active'] %}
|
|
|
|
|
<span class="table-field-status-default heading-medium">- archived</span>
|
|
|
|
|
{% endif %}
|
2018-02-09 10:28:41 +00:00
|
|
|
</li>
|
2018-02-08 12:19:21 +00:00
|
|
|
{% endfor %}
|
2018-02-12 09:26:13 +00:00
|
|
|
</ul>
|
2018-02-09 10:28:41 +00:00
|
|
|
</nav>
|
|
|
|
|
<div>
|
|
|
|
|
<a href="{{ url_for('main.add_organisation') }}" class="browse-list-link">Create an organisation</a>
|
2018-02-08 12:19:21 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
{% endblock %}
|