Skip to content
Browse files

fixed some more {% groupurl %} takes with args.

  • Loading branch information...
1 parent eb1e90c commit d6413cad26d39547fe1c37bfc7a91b58edecf42d @brosner committed Jun 3, 2009
View
10 birdie_project/templates/tasks/task_history.html
@@ -14,7 +14,7 @@
{% block body %}
<h1>History for Task
- <a href="{% groupurl task_detail group task.id %}">#{{ task.id }}: {{ task.summary }}</a>
+ <a href="{% groupurl task_detail group id=task.id %}">#{{ task.id }}: {{ task.summary }}</a>
</h1>
@@ -39,10 +39,10 @@
<td>{{ forloop.revcounter }}</td>
<td>
{% if change.owner %}
- <a href="{% groupurl tasks_for_user group change.owner %}">{{ change.owner }}</a>
+ <a href="{% groupurl tasks_for_user group username=change.owner %}">{{ change.owner }}</a>
{% endif %}
- {% if change.nudger %}
- <a href="{% groupurl tasks_for_user group change.nudger %}">{{ change.nudger }}</a>
+ {% if change.nudger %}
+ <a href="{% groupurl tasks_for_user group username=change.nudger %}">{{ change.nudger }}</a>
{% endif %}
</td>
<td>{{ change.modified|shorttimesince }}</td>
@@ -53,7 +53,7 @@
{% if change.nudger %}
{% else %}
{% if change.assignee %}
- <a href="{% groupurl tasks_for_user group change.assignee %}">{{ change.assignee }}</a>
+ <a href="{% groupurl tasks_for_user group username=change.assignee %}">{{ change.assignee }}</a>
{% else %}
<span class="warning">unassigned</span>
{% endif %}
View
8 birdie_project/templates/tasks/tasks_history_list.html
@@ -29,13 +29,13 @@
{% for change in task_history %}
<!-- {% cycle odd,even as rowcolor %} -->
<tr class="{{ rowcolor }}" style="padding-bottom:10px">
- <td><a href="{% groupurl task_detail group change.task.id %}">{{ change.task.id }}</a></td>
+ <td><a href="{% groupurl task_detail group id=change.task.id %}">{{ change.task.id }}</a></td>
<td>
{% if change.owner %}
- <a href="{% groupurl tasks_for_user group change.owner %}">{{ change.owner }}</a>
+ <a href="{% groupurl tasks_for_user group username=change.owner %}">{{ change.owner }}</a>
{% endif %}
{% if change.nudger %}
- <a href="{% groupurl tasks_for_user group change.nudger %}">{{ change.nudger }}</a>
+ <a href="{% groupurl tasks_for_user group username=change.nudger %}">{{ change.nudger }}</a>
{% endif %}
</td>
<td>{{ change.modified|shorttimesince }}</td>
@@ -48,7 +48,7 @@
nudged
{% else %}
{% if change.assignee %}
- <a href="{% groupurl tasks_for_user group change.assignee %}">{{ change.assignee }}</a>
+ <a href="{% groupurl tasks_for_user group username=change.assignee %}">{{ change.assignee }}</a>
{% else %}
<span class="warning">unassigned</span>
{% endif %}

0 comments on commit d6413ca

Please sign in to comment.
Something went wrong with that request. Please try again.