Forgot this for previous commit.
This commit is contained in:
parent
df3751ecb8
commit
ddd2d5d5dd
|
@ -16,6 +16,8 @@
|
||||||
<tr>
|
<tr>
|
||||||
<th>Name</th>
|
<th>Name</th>
|
||||||
<th>Description</th>
|
<th>Description</th>
|
||||||
|
<th>When</th>
|
||||||
|
<th>Completed?</th>
|
||||||
<th>Action</th>
|
<th>Action</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
@ -24,6 +26,13 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="{% url 'teams:task_detail' slug=task.slug camp_slug=camp.slug team_slug=team.slug %}">{{ task.name }}</a></td>
|
<td><a href="{% url 'teams:task_detail' slug=task.slug camp_slug=camp.slug team_slug=team.slug %}">{{ task.name }}</a></td>
|
||||||
<td>{{ task.description }}</td>
|
<td>{{ task.description }}</td>
|
||||||
|
<td>
|
||||||
|
<ul>
|
||||||
|
<li>Start: {{ task.when.lower|default:"N/A" }}<br>
|
||||||
|
<li>Finish: {{ task.when.upper|default:"N/A" }}<br>
|
||||||
|
</ul>
|
||||||
|
</td>
|
||||||
|
<td>{{ task.completed }}</td>
|
||||||
<td>
|
<td>
|
||||||
<a href="{% url 'teams:task_detail' camp_slug=camp.slug team_slug=team.slug slug=task.slug %}" class="btn btn-primary btn-sm"><i class="fas fa-search"></i> Details</a>
|
<a href="{% url 'teams:task_detail' camp_slug=camp.slug team_slug=team.slug slug=task.slug %}" class="btn btn-primary btn-sm"><i class="fas fa-search"></i> Details</a>
|
||||||
{% if request.user in team.responsible_members.all %}
|
{% if request.user in team.responsible_members.all %}
|
||||||
|
|
Loading…
Reference in a new issue