aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/templates
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-05-22 16:22:30 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-05-22 16:22:30 +0100
commit5d489ef3685b32ee5e9c68839b1e187870c0d659 (patch)
treee28d090eb217cad555d07a154e6479878bae5c64 /ctrack/templates
parent44959fde6494d90d644a11866d86c704a5cf5034 (diff)
started work on optional User as organisation.Person object - tests
Diffstat (limited to 'ctrack/templates')
-rw-r--r--ctrack/templates/base.html4
-rw-r--r--ctrack/templates/pages/home.html10
2 files changed, 11 insertions, 3 deletions
diff --git a/ctrack/templates/base.html b/ctrack/templates/base.html
index 4164b06..4398926 100644
--- a/ctrack/templates/base.html
+++ b/ctrack/templates/base.html
@@ -40,12 +40,12 @@
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
- <a id="_title" class="navbar-brand" href="{% url 'home' %}">ctrack</a>
+ <a id="_title" class="navbar-brand" href="{% url 'core:home' %}">ctrack</a>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
- <a class="nav-link" href="{% url 'home' %}">Home <span class="sr-only">(current)</span></a>
+ <a class="nav-link" href="{% url 'core:home' %}">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item active">
<a href="{% url 'caf:es_list' %}" class="nav-link">Applicable Systems</a>
diff --git a/ctrack/templates/pages/home.html b/ctrack/templates/pages/home.html
index 63913c1..fbce9ff 100644
--- a/ctrack/templates/pages/home.html
+++ b/ctrack/templates/pages/home.html
@@ -1 +1,9 @@
-{% extends "base.html" %} \ No newline at end of file
+{% extends "base.html" %}
+
+{% block content %}
+
+ <h1>User profile page</h1>
+
+ <p>User: {{ object }}</p>
+
+{% endblock content %}