diff options
author | Matthew Lemon <matt@matthewlemon.com> | 2020-08-28 12:20:44 +0100 |
---|---|---|
committer | Matthew Lemon <matt@matthewlemon.com> | 2020-08-28 12:20:44 +0100 |
commit | 9e9f4b37c3efd969d6d9f73dad19b78e4c62d134 (patch) | |
tree | f5afc81dc99e098a70aeddaceb6282bf9860ceff /ctrack/caf | |
parent | d004475e5bde2aae4b69496a481f68b0da6b501a (diff) |
started adding new content to org detail page - ess service
Diffstat (limited to 'ctrack/caf')
-rw-r--r-- | ctrack/caf/templates/caf/applicablesystem_detail.html | 39 |
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 %} |