2022-01-23 23:01:47 -05:00
|
|
|
{% extends "base.dj.html" %}
|
2020-12-11 14:29:18 -05:00
|
|
|
|
2022-01-23 23:03:08 -05:00
|
|
|
{% block title %}{{ tool }} | {{ block.super }}{% endblock %}
|
|
|
|
{% block admin_link %}
|
|
|
|
{% url 'admin:tasks_tool_change' tool.id %}
|
|
|
|
{% endblock %}
|
2020-12-11 14:29:18 -05:00
|
|
|
{% block content %}
|
|
|
|
<nav aria-label="breadcrumb">
|
|
|
|
<ol class="breadcrumb">
|
2022-01-23 23:03:08 -05:00
|
|
|
<li class="breadcrumb-item">
|
2022-01-25 00:03:52 -05:00
|
|
|
<a href="{% url 'root' %}">Manage</a>
|
|
|
|
</li>
|
|
|
|
<li class="breadcrumb-item">
|
|
|
|
<a href="{% url 'tasks:index' %}">Tasks</a>
|
2022-01-23 23:03:08 -05:00
|
|
|
</li>
|
2020-12-11 14:29:18 -05:00
|
|
|
<li class="breadcrumb-item active" aria-current="page">{{ tool }}</li>
|
|
|
|
</ol>
|
|
|
|
</nav>
|
2021-05-20 18:20:04 -04:00
|
|
|
<section>
|
|
|
|
<h2>Tasks</h2>
|
|
|
|
<ul>
|
|
|
|
{% for task in tasks %}
|
2022-01-23 23:01:47 -05:00
|
|
|
{% include "./components/task_li.dj.html" with task=task %}
|
2021-05-20 18:20:04 -04:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</section>
|
2021-05-24 23:12:24 -04:00
|
|
|
<section>
|
|
|
|
<h2>Event Log</h2>
|
|
|
|
<table class="table table-striped table-hover">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
2022-01-23 23:03:08 -05:00
|
|
|
<th>Date</th>
|
|
|
|
<th>Task</th>
|
|
|
|
<th>User</th>
|
|
|
|
<th>Notes</th>
|
2021-05-24 23:12:24 -04:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for event in events|dictsortreversed:"date" %}
|
|
|
|
<tr>
|
2022-01-23 23:03:08 -05:00
|
|
|
<td class="text-nowrap">{{ event.date }}</td>
|
|
|
|
<td>{{ event.task.name }}</td>
|
|
|
|
<td>{{ event.user }}</td>
|
2022-02-14 12:44:42 -05:00
|
|
|
<td>{{ event.notes_html|safe }}</td>
|
2021-05-24 23:12:24 -04:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</section>
|
2020-12-11 14:29:18 -05:00
|
|
|
{% endblock %}
|