diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-10-21 16:09:05 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-10-21 16:09:05 +0100 |
commit | cbddf7c7fad44f62b1cf057158bcf9e53f8e1bb4 (patch) | |
tree | ed3eb1783d7a0a73561a081e23cb5839ecb0bffb /ctrack/templates/pages | |
parent | cadbccdf61525c67107ab0f1b1206f4d5e07861a (diff) |
now have an OES-only organisation page
Diffstat (limited to '')
-rw-r--r-- | ctrack/templates/pages/home.html | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/ctrack/templates/pages/home.html b/ctrack/templates/pages/home.html index 7c414b8..e1314ac 100644 --- a/ctrack/templates/pages/home.html +++ b/ctrack/templates/pages/home.html @@ -29,7 +29,8 @@ OES/Organisations </h3> <p>There are currently <span class="lead font-weight-bold">{{ no_orgs }}</span> <a - href="{% url "organisations:list" %}">organisations</a> on ctrack, comprising <span + href="{% url "organisations:list" %}">organisations</a> on ctrack, of which <span + class="lead font-weight-bold">{{ no_oes }}</span> are OES, comprising <span class="lead font-weight-bold">{{ no_people }}</span> <a href="{% url "organisations:people" %}">people</a>. OES are responsible for <span class="lead font-weight-bold">{{ no_essential_services }}</span> NIS <a href="#">essential services</a>. There have been a total of <span @@ -47,6 +48,9 @@ href="{% url "organisations:list" %}">All organisations</a><span class="badge badge-secondary">{{ no_orgs }}</span></li> <li class="list-group-item list-group-item-dark d-flex justify-content-between align-items-center"><a + href="{% url "organisations:list_oes" %}">All + OES</a><span class="badge badge-secondary">{{ no_oes }}</span></li> + <li class="list-group-item list-group-item-dark d-flex justify-content-between align-items-center"><a href="{% url "organisations:people" %}">All people</a><span class="badge badge-secondary">{{ no_people }}</span></li> <li class="list-group-item list-group-item-dark d-flex justify-content-between align-items-center"><a @@ -105,7 +109,8 @@ <h5>Lead Inspectors</h5> <ul class="list-unstyled"> {% for k, v in submode_inspector_dict.items %} - <li><strong>{{ k }}</strong> {% for x in v %} <a href="{% url "organisations:list_by_inspector" x.id %}">{{ x.name }}</a> -{% endfor %}</li> + <li><strong>{{ k }}</strong> {% for x in v %} + <a href="{% url "organisations:list_by_inspector" x.id %}">{{ x.name }}</a> -{% endfor %}</li> {% endfor %} </ul> </div> |