aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-06-01 14:06:29 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-06-01 14:06:29 +0100
commit4b1016247bc0b8f1c4d33b5a471b6f65a5b787b4 (patch)
treed785aebbf16986931c86007ac07c33a997e621a7 /ctrack
parentfb986e6697f8ffaa34a419bd1b91bdc0fb05a129 (diff)
improvements to the people list page
Diffstat (limited to 'ctrack')
-rw-r--r--ctrack/organisations/templates/organisations/person_list.html10
1 files changed, 8 insertions, 2 deletions
diff --git a/ctrack/organisations/templates/organisations/person_list.html b/ctrack/organisations/templates/organisations/person_list.html
index 2e9d333..53e812a 100644
--- a/ctrack/organisations/templates/organisations/person_list.html
+++ b/ctrack/organisations/templates/organisations/person_list.html
@@ -11,7 +11,7 @@
<div class="col-md-12 pl-0 my-2">
<div class="row">
<div class="col-12">
- <h4>People <span class="float-right align-bottom"><a href="{% url "organisations:create" %}"><button type="button" class="btn btn-primary">Create new...</button></a></span></h4>
+ <h4>People <span class="float-right align-bottom"><a href="#"><button type="button" class="btn btn-primary">Create new...</button></a></span></h4>
</div>
</div>
<div class="row">
@@ -21,12 +21,18 @@
<tr>
<th>Person</th>
<th>Organisation</th>
+ <th>Phone Number</th>
+ <th>Email</th>
+ <th>Contact History</th>
</tr>
</thead>
{% for p in object_list %}
<tr>
<td><a href="#">{{ p.first_name }} {{ p.last_name }}</a></td>
- <td>{{ p.organisation.name }}</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>
+ <td><a href="#">Contact History</td>
</tr>
{% endfor %}
</table>