Permalink
Browse files

made task tags work like others

  • Loading branch information...
1 parent 258e10d commit 5dbf767cf6a83f6bd85aab2612504f28df172c69 @bhaugen committed Jan 9, 2010
Showing with 8 additions and 6 deletions.
  1. +1 −1 templates/tasks/task_item.html
  2. +3 −2 templates/tasks/task_list.html
  3. +4 −3 templates/tasks/user_tasks.html
@@ -67,6 +67,6 @@ <h2 class="task_{{ task.get_state_display }}">#{{ task.id }}: <a href="{{ task.g
{% trans "none" %}
{% endif %}
</div>
- <p>{% silk "tag_blue" %} {% task_tags task group %}</p>
+ <p>{% show_tags_for task %}</p>
</div>
</div>
@@ -7,6 +7,7 @@
{% load tasks_tags %}
{% load tagging_tags %}
{% load group_tags %}
+{% load extra_tagging_tags %}
{#}{% block head_title %}Tasks {% if project %} for {{ project.name }}{% endif %}{% endblock %}#}
{% block head_title %}Tasks{% endblock %}
@@ -117,7 +118,7 @@
<span class="warning">unassigned</span>
{% endif %}
</td>
- <td>{% task_tags item group %}</td>
+ <td>{% show_tags_for item %}</td>
<td>{{ item.status }}</td>
</tr>
{% endfor %}
@@ -157,7 +158,7 @@
<span class="warning">unassigned</span>
{% endif %}
</td>
- <td>{% task_tags task group %}</td>
+ <td>{% show_tags_for task %}</td>
<td>{{ task.status }}</td>
</tr>
{% endfor %}
@@ -5,6 +5,7 @@
{% load shorttimesince_tag %}
{% load humanize %}
{% load group_tags %}
+{% load extra_tagging_tags %}
{% block head_title %}Tasks for {{ other_user }}{% endblock %}
@@ -56,7 +57,7 @@
<td>{{ task.id }}</td>
<td><a href="{% groupurl task_detail group id=task.id %}">{{ task.summary }}</a></td>
<td style="white-space: nowrap">{{ task.modified|shorttimesince }} ago</td>
- <td>{% task_tags task group %}</td>
+ <td>{% show_tags_for task %}</td>
<td>{{ task.status }}</td>
</tr>
{% endfor %}
@@ -108,7 +109,7 @@
<td>{{ task.id }}</td>
<td><a href="{% groupurl task_detail group id=task.id %}">{{ task.summary }}</a></td>
<td style="white-space: nowrap">{{ task.modified|shorttimesince }} ago</td>
- <td>{% task_tags task group %}</td>
+ <td>{% show_tags_for task %}</td>
<td>{{ task.status }}</td>
</tr>
{% endfor %}
@@ -160,7 +161,7 @@
<td>{{ task.id }}</td>
<td><a href="{% groupurl task_detail group id=task.id %}">{{ task.summary }}</a></td>
<td style="white-space: nowrap">{{ task.modified|shorttimesince }} ago</td>
- <td>{% task_tags task group %}</td>
+ <td>{% show_tags_for task %}</td>
<td>{{ task.status }}</td>
</tr>
{% endfor %}

0 comments on commit 5dbf767

Please sign in to comment.