aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/organisations
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ctrack/organisations/templates/organisations/organisation_detail.html19
1 files changed, 10 insertions, 9 deletions
diff --git a/ctrack/organisations/templates/organisations/organisation_detail.html b/ctrack/organisations/templates/organisations/organisation_detail.html
index f1da2cb..b0b1a79 100644
--- a/ctrack/organisations/templates/organisations/organisation_detail.html
+++ b/ctrack/organisations/templates/organisations/organisation_detail.html
@@ -272,16 +272,17 @@
{% for event in single_datetime_events %}
<div class="card" style="width: 100%">
<div class="card-body">
- <h5 class="card-title">{{ event.short_description }}</h5>
- <div class="card-subtitle mb-2">
- <span class="badge badge-info">{{ event.type_descriptor }}</span>
- <span class="badge badge-light">{{ event.datetime|date:"l j F Y" }}, {{ event.datetime|date:"G:i" }}</span></h5>
- </div>
+ <h5 class="card-title">{{ event.short_description }} | <a
+ href="{% url "register:event_update_simple_event_from_org" event.pk object.slug %}">Edit</a></h5>
+ <div class="card-subtitle mb-2">
+ <span class="badge badge-info">{{ event.type_descriptor }}</span>
+ <span class="badge badge-light">{{ event.datetime|date:"l j F Y" }}, {{ event.datetime|date:"G:i" }}</span></h5>
+ </div>
<p class="card-text">{{ event.comments }}</p>
- Participants:
- {% for person in event.participants.all %}
- <a href="{% url "organisations:person-detail" person.id %}">{{ person }}</a> &nbsp;
- {% endfor %}
+ Participants:
+ {% for person in event.participants.all %}
+ <a href="{% url "organisations:person-detail" person.id %}">{{ person }}</a> &nbsp;
+ {% endfor %}
</div>
</div>
{% endfor %}