aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/caf/templates/caf/applicablesystem_detail.html
blob: fa1d414828826f75cf5c79e399efad9d164a3207 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{% extends "base.html" %}

{% load static %}

{% 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="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><a href="{% url "organisations:essential_service_detail" s.pk %}">{{ s.name }}</a></li>
                        {% endfor %}
                    </ul>
                </div>
            </div>
        </div>
    </div>

{% endblock %}