Replace locals() with context dicts
This commit is contained in:
parent
35cfd2eb39
commit
0daf9336c0
5 changed files with 80 additions and 31 deletions
|
@ -8,7 +8,7 @@
|
|||
|
||||
<p>{{ item_count }} items in {{ list_count }} lists</p>
|
||||
|
||||
{% regroup list_list by group as section_list %}
|
||||
{% regroup lists by group as section_list %}
|
||||
|
||||
{% for group in section_list %}
|
||||
<h3>{{ group.grouper }}</h3>
|
||||
|
|
|
@ -22,8 +22,12 @@
|
|||
</a><br/>
|
||||
|
||||
<strong>Assigned to:</strong>
|
||||
{% if task.assigned_to %}{{ task.assigned_to.get_full_name }}
|
||||
{% else %}Anyone{% endif %}<br/>
|
||||
{% if task.assigned_to %}
|
||||
{{ task.assigned_to.get_full_name }}
|
||||
{% else %}
|
||||
Anyone
|
||||
{% endif %}
|
||||
<br/>
|
||||
|
||||
<strong>Created by:</strong>
|
||||
{{ task.created_by.first_name }}
|
||||
|
@ -105,7 +109,7 @@
|
|||
</strong>
|
||||
</p>
|
||||
{{ comment.body|safe|urlize|linebreaks }}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
<h3>No comments (yet).</h3>
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue