aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/organisations
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ctrack/organisations/templates/organisations/organisation_detail.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/ctrack/organisations/templates/organisations/organisation_detail.html b/ctrack/organisations/templates/organisations/organisation_detail.html
index 2479f50..29d188c 100644
--- a/ctrack/organisations/templates/organisations/organisation_detail.html
+++ b/ctrack/organisations/templates/organisations/organisation_detail.html
@@ -95,6 +95,35 @@
</div>
</div>
</div>
+ <div class="row">
+ <div class="col-md-12 my-2">
+ <div class="card bg-light">
+ <div class="card-body">
+ <div class="card-title">OES Engagements<a href="#" class="btn btn-primary btn-sm float-right">Add
+ new...</a></div>
+ <div class="table table-responsive">
+ <table class="table">
+ {% if engagement_events|length > 0 %}
+ {% for event in engagement_events %}
+ <tr>
+ <td><a href="{% url "caf:ass_detail" ass.id %}">{{ ass.name }}</a></td>
+ <td>{{ ass.description }}<br>
+ <a href="{% url "caf:detail" ass.caf.pk %}" class="small">
+ {{ ass.caf }}
+ </a> <span class="text-muted"> | <a href="#" class="small">Edit System</a></span>
+ </td>
+ </tr>
+ {% endfor %}
+ {% else %}
+ <a class="btn btn-primary" href="{% url "caf:create_from_org" object.slug %}" role="button">Add
+ new...</a>
+ {% endif %}
+ </table>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
<div class="row">
<div class="col-12 mt-3">
<h4>Addresses</h4>