diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-10-21 16:17:40 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-10-21 16:27:53 +0100 |
commit | 4bd6e569fef7c9ebda8f63e5064ac90fcfe1c3e4 (patch) | |
tree | 79bd61048f73a58919324509a00b6a5379a9ae1c /ctrack/organisations | |
parent | cbddf7c7fad44f62b1cf057158bcf9e53f8e1bb4 (diff) |
prettied up the org list page
Diffstat (limited to 'ctrack/organisations')
-rw-r--r-- | ctrack/organisations/templates/organisations/organisation_list.html | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/ctrack/organisations/templates/organisations/organisation_list.html b/ctrack/organisations/templates/organisations/organisation_list.html index dfce156..f49cd54 100644 --- a/ctrack/organisations/templates/organisations/organisation_list.html +++ b/ctrack/organisations/templates/organisations/organisation_list.html @@ -59,14 +59,18 @@ <a href="{% url "organisations:list_by_inspector" org.lead_inspector.pk %}">{{ org.lead_inspector.name }}</a> </td> {% else %} - <td>{{ org.lead_inspector.name }}</td> + <td><span class="text-muted">Not nominated</span></td> + {% endif %} + {% if org.deputy_lead_inspector %} + <td>{{ org.deputy_lead_inspector.name }}</td> + {% else %} + <td><span class="text-muted">Not nominated</span></td> {% endif %} - <td>{{ org.deputy_lead_inspector.name }}</td> <td> {% if org.primary_contacts %} <ul style="list-style-type:none; float:left; padding: 0"> {% for p in org.primary_contacts %} - <li><a href="mailto:{{ p.email }}">{{ p }}</a> ({{ p.mobile }})</li> + <li><a href="mailto:{{ p.email }}">{{ p }}</a><br><span class="font-italic">{{ p.mobile }}</span></li> {% endfor %} </ul> {% else %} |