Indentation cleanup
This commit is contained in:
parent
2bab3ec703
commit
f853296aa8
1 changed files with 47 additions and 46 deletions
|
@ -36,60 +36,60 @@
|
||||||
|
|
||||||
{% if items %}
|
{% if items %}
|
||||||
{% if list_slug == "mine" %}
|
{% if list_slug == "mine" %}
|
||||||
<h1>Tasks assigned to me (in all groups)</h1>
|
<h1>Tasks assigned to me (in all groups)</h1>
|
||||||
{% else %}
|
{% else %}
|
||||||
<h1>Tasks filed under "{{ task_list.name }}"</h1>
|
<h1>{{ view_completed|yesno:"Completed tasks, Tasks" }} in "{{ task_list.name }}"</h1>
|
||||||
<p>This list belongs to group {{ task_list.group }}</p>
|
<p>This list belongs to group {{ task_list.group }}</p>
|
||||||
<h3>Tasks :: Drag rows to set priorities</h3>
|
<h3>Tasks :: Drag rows to set priorities</h3>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<form action="" name="show_tasks" method="post">
|
<form action="" name="show_tasks" method="post">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<table class="table" id="tasktable">
|
<table class="table" id="tasktable">
|
||||||
<tr>
|
<tr>
|
||||||
<th>Done</th>
|
<th>Done</th>
|
||||||
<th>Task</th>
|
<th>Task</th>
|
||||||
<th>Created</th>
|
<th>Created</th>
|
||||||
<th>Due on</th>
|
<th>Due on</th>
|
||||||
<th>Owner</th>
|
<th>Owner</th>
|
||||||
<th>Assigned</th>
|
<th>Assigned</th>
|
||||||
<th>Note</th>
|
<th>Note</th>
|
||||||
<th>Comm</th>
|
<th>Comm</th>
|
||||||
<th>Del</th>
|
<th>Del</th>
|
||||||
</tr>
|
</tr>
|
||||||
{% for task in items %}
|
{% for task in items %}
|
||||||
<tr id="{{ task.id }}">
|
<tr id="{{ task.id }}">
|
||||||
<td>
|
<td>
|
||||||
<input type="checkbox" name="toggle_done_tasks" value="{{ task.id }}" id="{{ task.id }}">
|
<input type="checkbox" name="toggle_done_tasks" value="{{ task.id }}" id="{{ task.id }}">
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a href="{% url 'todo:task_detail' task.id %}">{{ task.title|truncatewords:20 }}</a>
|
<a href="{% url 'todo:task_detail' task.id %}">{{ task.title|truncatewords:20 }}</a>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{ task.created_date|date:"m/d/Y" }}
|
{{ task.created_date|date:"m/d/Y" }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<span {% if task.overdue_status %}class="overdue"{% endif %}>
|
<span {% if task.overdue_status %}class="overdue"{% endif %}>
|
||||||
{{ task.due_date|date:"m/d/Y" }}
|
{{ task.due_date|date:"m/d/Y" }}
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{ task.created_by }}
|
{{ task.created_by }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{% if task.assigned_to %}{{ task.assigned_to }}{% else %}Anyone{% endif %}
|
{% if task.assigned_to %}{{ task.assigned_to }}{% else %}Anyone{% endif %}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{% if task.note %}≈{% endif %}
|
{% if task.note %}≈{% endif %}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{% if task.comment_set.all.count > 0 %}{{ task.comment_set.all.count }}{% endif %}
|
{% if task.comment_set.all.count > 0 %}{{ task.comment_set.all.count }}{% endif %}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<input type="checkbox" name="toggle_deleted_tasks" value="{{ task.id }}" id="{{ task.id }}">
|
<input type="checkbox" name="toggle_deleted_tasks" value="{{ task.id }}" id="{{ task.id }}">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</table>
|
</table>
|
||||||
<p><input type="submit" name="process_tasks" value="Continue..." class="todo-button"></p>
|
<p><input type="submit" name="process_tasks" value="Continue..." class="todo-button"></p>
|
||||||
</form>
|
</form>
|
||||||
|
@ -98,6 +98,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if list_slug != "mine" %}
|
{% if list_slug != "mine" %}
|
||||||
|
|
||||||
{% if view_completed %}
|
{% if view_completed %}
|
||||||
<p><a href="{% url 'todo:list_detail' list_id list_slug %}">View incomplete tasks</a></p>
|
<p><a href="{% url 'todo:list_detail' list_id list_slug %}">View incomplete tasks</a></p>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue