aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/organisations/templates
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-06-01 16:32:03 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-06-01 16:32:03 +0100
commit37a5818eb76ad75055807d300d1cdd6fb5821b0a (patch)
tree4f2d842cce767c3aad6c5d6bf4a0e7e809138d13 /ctrack/organisations/templates
parentb58ec416d86fc8a4c7816fe96d2b1030deff37a5 (diff)
engagement events now appear on org page
Diffstat (limited to 'ctrack/organisations/templates')
-rw-r--r--ctrack/organisations/templates/organisations/organisation_detail.html12
1 files changed, 4 insertions, 8 deletions
diff --git a/ctrack/organisations/templates/organisations/organisation_detail.html b/ctrack/organisations/templates/organisations/organisation_detail.html
index 29d188c..bf16c87 100644
--- a/ctrack/organisations/templates/organisations/organisation_detail.html
+++ b/ctrack/organisations/templates/organisations/organisation_detail.html
@@ -99,23 +99,19 @@
<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
+ <div class="card-title">OES Engagements<a href="{% url "register:create" %}" 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>
+ <td><a href="#">{{ event.type}}</a></td>
+ <td>{{ event.short_description }}</td>
</tr>
{% endfor %}
{% else %}
- <a class="btn btn-primary" href="{% url "caf:create_from_org" object.slug %}" role="button">Add
+ <a class="btn btn-primary" href="{% url "register:create" %}" role="button">Add
new...</a>
{% endif %}
</table>