blob: 8d1e193b27892ce46af8e20ac5d1c2a308aaf09a (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
{% 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 class="col-12 pl-0 my-2 bg-light">
<h2>{{ object.get_organisation }}</h2>
</div>
</div>
<div class="row">
<h5>Function/Description</h5>
</div>
<div class="row">
<p>{{ object.function }}</p>
</div>
<div class="row">
<div class="col-sm-12 pl-0 my-2">
<p>Supports Essential Services:</p>
<ul class="list-group list-group-flush">
{% for s in object.essentialservice_set.all %}
<li class="list-group-item"><a href="{% url "organisations:essential_service_detail" s.pk %}">{{ s.name }}</a></li>
{% endfor %}
</ul>
</div>
</div>
<div class="row">
<div class="col-sm-12 pl-0 my-2">
<p>Relevant CAF[s]</p>
<table class="table table-striped">
<thead>
<tr>
<th>CAF</th>
<th>Comments</th>
</tr>
</thead>
<tbody>
{% for caf in object.get_cafs %}
<tr>
<td><a href="{% url "caf:detail" caf.pk %}">{{ caf.version }}</a></td>
<td>{{ caf.comments }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
{% endblock %}
|