aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ctrack/organisations/templates/organisations/person_list.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/ctrack/organisations/templates/organisations/person_list.html b/ctrack/organisations/templates/organisations/person_list.html
index 73b8188..80c7d6a 100644
--- a/ctrack/organisations/templates/organisations/person_list.html
+++ b/ctrack/organisations/templates/organisations/person_list.html
@@ -35,6 +35,7 @@
<thead>
<tr>
<th>Person</th>
+ <th>NIS Responsible</th>
<th>Organisation</th>
<th>Phone Number</th>
<th>Email</th>
@@ -44,6 +45,15 @@
{% for p in object_list %}
<tr>
<td><a href="{% url "organisations:person-detail" p.pk %}">{{ p.first_name }} {{ p.last_name }}</a></td>
+ <td>
+ {% if p.primary_nis_contact %}
+ <span class="badge badge-pill badge-success">NIS Primary Contact</span>
+ {% elif p.voluntary_point_of_contact %}
+ Voluntary Point of Contact
+ {% else %}
+ &nbsp;
+ {% endif %}
+ </td>
<td><a href="{% url "organisations:detail" p.organisation.slug %}">{{ p.organisation.name }}</a></td>
<td>{{ p.mobile }}</td>
<td><a href="mailto:{{ p.email }}">{{ p.email }}</a></td>