aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/caf
diff options
context:
space:
mode:
Diffstat (limited to 'ctrack/caf')
-rw-r--r--ctrack/caf/templates/caf/applicablesystem_detail.html39
1 files changed, 23 insertions, 16 deletions
diff --git a/ctrack/caf/templates/caf/applicablesystem_detail.html b/ctrack/caf/templates/caf/applicablesystem_detail.html
index 9e12043..b8467b0 100644
--- a/ctrack/caf/templates/caf/applicablesystem_detail.html
+++ b/ctrack/caf/templates/caf/applicablesystem_detail.html
@@ -5,24 +5,31 @@
{% block title %}{{ object.name }}{% endblock %}
{% block content %}
- <div class="container mt-3">
- <div class="row">
- <div class="col-sm-12 pl-0 my-2">
+ <div class="container mt-3">
<div class="row">
- <h4>{{ object.name }}</h4>
+ <div class="col-sm-12 pl-0 my-2">
+ <div class="row">
+ <h4>{{ object.name }}</h4>
+ </div>
+ <div class="row">
+ <h5>{{ object.caf.organisation }}</h5>
+ </div>
+ <div class="row">
+ <h5>Function</h5>
+ </div>
+ <div class="row">
+ <p>{{ object.function }}</p>
+ <p>Supports Essential Services:</p>
+ </div>
+ <div class="row">
+ <ul>
+ {% for s in object.essentialservice_set.all %}
+ <li>{{ s.name }}</li>
+ {% endfor %}
+ </ul>
+ </div>
+ </div>
</div>
- <div class="row">
- <h5>{{ object.caf.organisation }}</h5>
- </div>
- <div class="row">
- <h6>Function</h6>
- </div>
- <div class="row">
- <p>{{ object.function }}</p>
- <p>Contained within CAF: <a href="{% url "caf:detail" object.caf.pk %}">{{ object.caf }}</a></p>
- </div>
- </div>
</div>
- </div>
{% endblock %}