diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-10-19 10:32:16 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-10-19 10:32:16 +0100 |
commit | f225395d1725a2435d747051649b67fbed28bd5c (patch) | |
tree | 8687775f35fb37bf55db98fa71a2ee2ec673851f /ctrack/organisations/templates | |
parent | eaafce3ec050a0ee9f75c996bbdac74cccdd1726 (diff) |
cleaned up the template
Diffstat (limited to 'ctrack/organisations/templates')
-rw-r--r-- | ctrack/organisations/templates/organisations/organisation_detail.html | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/ctrack/organisations/templates/organisations/organisation_detail.html b/ctrack/organisations/templates/organisations/organisation_detail.html index 316d6e8..f1da2cb 100644 --- a/ctrack/organisations/templates/organisations/organisation_detail.html +++ b/ctrack/organisations/templates/organisations/organisation_detail.html @@ -220,8 +220,6 @@ <div class="card-body"> <div class="card-title" style="font-size: 1.1rem;"> Engagements & Compliance Events - <a href="{% url "register:create" object.slug %}" class="btn btn-outline-primary btn-sm float-right">Add - new...</a> </div> <div class="mb-2"> <svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-calendar-month" fill="currentColor" @@ -287,54 +285,6 @@ </div> </div> {% endfor %} - - </div> - - <div class="table table-responsive"> - <table class="table table-sm table-striped table-bordered"> - <thead> - <tr> - <th>Date</th> - <th>Type</th> - <th>Description</th> - <th>CAF</th> - <th>Response Requested</th> - <th>Response Due</th> - <th>Actions</th> - </tr> - </thead> - {% if engagement_events|length > 0 %} - {% for event in engagement_events %} - <tr> - <td>{{ event.date |date:"d M Y" }}</td> - <td>{{ event.type }}</td> - <td><a href="#">{{ event.short_description }}</a></td> - {% if event.related_caf %} - <td><a href="{% url "caf:detail" event.related_caf.id %}">{{ event.related_caf }}</a></td> - {% else %} - <td>NA</td> - {% endif %} - {% if event.response_date_requested %} - <td style="color: {{ event.days_to_response_due.descriptor }}">{{ event.response_date_requested |date:"D d M Y" }}</td> - {% else %} - <td>NA</td> - {% endif %} - {% if event.response_received %} - <td>{{ event.response_received | date:"D d M Y" }}</td> - {% else %} - {% if event.response_date_requested %} - <td style="color: {{ event.days_to_response_due.descriptor }};">{{ event.days_to_response_due.days }} {{ event.days_to_response_due.day_str }}</td> - {% else %} - <td>NA</td> - {% endif %} - {% endif %} - <td><a class="badge badge-success" href="#" role="button">Edit</a> <a - href="{% url "register:ee_delete" event.pk object.slug %}" class="badge badge-danger" - role="button">Delete</a></td> - </tr> - {% endfor %} - {% endif %} - </table> </div> </div> </div> |