mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-24 18:09:13 -04:00
36 lines
1.1 KiB
HTML
36 lines
1.1 KiB
HTML
{% extends "views/platform-admin/_base_template.html" %}
|
|
{% from "components/live-search.html" import live_search %}
|
|
{% from "components/page-footer.html" import page_footer %}
|
|
|
|
{% block per_page_title %}
|
|
Organisations
|
|
{% endblock %}
|
|
|
|
{% block org_page_title %}
|
|
Organisations
|
|
{% endblock %}
|
|
|
|
{% block platform_admin_content %}
|
|
|
|
<h1 class="heading-large">
|
|
Organisations
|
|
</h1>
|
|
{{ live_search(target_selector='.browse-list-item', show=True, form=search_form, label='Search by name') }}
|
|
<nav class="browse-list">
|
|
<ul>
|
|
{% for org in organisations %}
|
|
<li class="browse-list-item">
|
|
<a href="{{ url_for('main.organisation_dashboard', org_id=org['id']) }}" class="browse-list-link">{{ org['name'] }}</a>
|
|
{% if not org['active'] %}
|
|
<span class="table-field-status-default heading-medium">- archived</span>
|
|
{% endif %}
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</nav>
|
|
<div class="js-stick-at-bottom-when-scrolling">
|
|
<a href="{{ url_for('main.add_organisation') }}" class="button-secondary">New organisation</a>
|
|
</div>
|
|
|
|
{% endblock %}
|