aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/templates
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-01-20 15:18:22 +0000
committerMatthew Lemon <lemon@matthewlemon.com>2020-01-20 15:18:22 +0000
commit9ebc666f819897aac04e9bc529a39fb40ee7abfb (patch)
treeb9ef935a7f9be6bc96a0ce206badf1f5ffa4469c /ctrack/templates
parent52a0a7570f55a4d60e67f384a97148df153ae5f7 (diff)
Playing around with User model
Diffstat (limited to 'ctrack/templates')
-rw-r--r--ctrack/templates/users/user_detail.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/ctrack/templates/users/user_detail.html b/ctrack/templates/users/user_detail.html
index e86eda1..f1913c3 100644
--- a/ctrack/templates/users/user_detail.html
+++ b/ctrack/templates/users/user_detail.html
@@ -9,9 +9,11 @@
<div class="row">
<div class="col-sm-12">
- <h2>{{ object.username }}</h2>
+ <h2>User: {{ object.username }}</h2>
{% if object.name %}
- <p>{{ object.name }}</p>
+ <p>{{ object.name }}</p>
+ {% else %}
+ <p>Email: {{ object.email }}</p>
{% endif %}
</div>
</div>