</tr>
</thead>
-{% if page %}
+{% if page.paginator.count %}
<tbody>
{% for patch in page.object_list %}
<tr id="patch_row:{{patch.id}}" class="{% cycle 'odd' 'even' %}">
<input type="checkbox" name="patch_id:{{patch.id}}"/>
</td>
{% endif %}
- <td><a href="{% url patchwork.views.patch.patch patch_id=patch.id %}"
+ <td><a href="{% url 'patchwork.views.patch.patch' patch_id=patch.id %}"
>{{ patch.name|default:"[no subject]" }}</a></td>
<td>{{ patch.date|date:"Y-m-d" }}</td>
<td>{{ patch.submitter|personify }}</td>
<tr>
<td></td>
<td>
- <input type="submit" name="action" value="Update"/>
+ <input type="submit" name="action" value="{{patchform.action}}"/>
</td>
</tr>
</table>
<div class="patchform patchform-bundle">
<h3>Bundling</h3>
<table class="form">
- <!--
- <tr>
- <td>Ack:</td>
- <td>
- <input type="submit" name="action" value="Ack"/>
- </form>
- </td>
- </tr>
- -->
<tr>
<td>Create bundle:</td>
<td>