aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/organisations
diff options
context:
space:
mode:
Diffstat (limited to 'ctrack/organisations')
-rw-r--r--ctrack/organisations/templates/organisations/organisation_list.html10
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 %}