Better template filenames

- Also removes some extraneous CSS classes
This commit is contained in:
Scot Hacker 2018-02-10 23:28:35 -08:00
parent 03c125ca50
commit 8cba92b571
5 changed files with 19 additions and 17 deletions

View file

@ -15,7 +15,7 @@
<ul>
{% for item in group.list %}
<li>
<a class="todo" href="{% url 'todo:list_detail' item.id item.slug %}">{{ item.name }}</a>
<a href="{% url 'todo:list_detail' item.id item.slug %}">{{ item.name }}</a>
({{ item.list_detail.count }}/{{ item.item_set.count }})
</li>
{% endfor %}

View file

@ -26,11 +26,22 @@
<p id="slideToggle" ><strong>&rarr; Click to edit details &larr;</strong></p>
<p>
<strong>In list:</strong> <a href="{% url 'todo:list_detail' task.task_list.id task.task_list.slug %}" class="showlink">{{ task.list }}</a><br />
<strong>Assigned to:</strong> {% if task.assigned_to %}{{ task.assigned_to.get_full_name }}{% else %}Anyone{% endif %}<br />
<strong>Created by:</strong> {{ task.created_by.first_name }} {{ task.created_by.last_name }}<br />
<strong>Due date:</strong> {{ task.due_date }}<br />
<strong>Completed:</strong> {{ form.completed }}<br />
<strong>In list:</strong>
<a href="{% url 'todo:list_detail' task.task_list.id task.task_list.slug %}">
{{ task.task_list }}
</a><br />
<strong>Assigned to:</strong>
{% if task.assigned_to %}{{ task.assigned_to.get_full_name }}{% else %}Anyone{% endif %}<br />
<strong>Created by:</strong>
{{ task.created_by.first_name }} {{ task.created_by.last_name }}<br />
<strong>Due date:</strong>
{{ task.due_date }}<br />
<strong>Completed:</strong>
{{ form.completed }}<br />
</p>
{% if task.note %}