missed for ... empty opportunity

This commit is contained in:
Stefano Brentegani 2014-07-21 21:30:32 +02:00
parent 0f103ea827
commit 9c97172624

View File

@ -223,7 +223,7 @@ $(document).ready(function() {
<tr class='row_columnheads'><th>#</th><th>&nbsp;</th><th>{% trans "Pr" %}</th><th>{% trans "Title" %}</th><th>{% trans "Queue" %}</th><th>{% trans "Status" %}</th><th>{% trans "Created" %}</th><th>{% trans "Owner" %}</th></tr> <tr class='row_columnheads'><th>#</th><th>&nbsp;</th><th>{% trans "Pr" %}</th><th>{% trans "Title" %}</th><th>{% trans "Queue" %}</th><th>{% trans "Status" %}</th><th>{% trans "Created" %}</th><th>{% trans "Owner" %}</th></tr>
</thead> </thead>
<tbody> <tbody>
{% if tickets %}{% for ticket in tickets.object_list %} {% for ticket in tickets.object_list %}
<tr> <tr>
<th><a href='{{ ticket.get_absolute_url }}'>{{ ticket.ticket }}</a></th> <th><a href='{{ ticket.get_absolute_url }}'>{{ ticket.ticket }}</a></th>
<td><input type='checkbox' name='ticket_id' value='{{ ticket.id }}' class='ticket_multi_select' /></td> <td><input type='checkbox' name='ticket_id' value='{{ ticket.id }}' class='ticket_multi_select' /></td>
@ -234,9 +234,9 @@ $(document).ready(function() {
<td><span title='{{ ticket.created|date:"r" }}'>{{ ticket.created|timesince }} ago</span></td> <td><span title='{{ ticket.created|date:"r" }}'>{{ ticket.created|timesince }} ago</span></td>
<td>{{ ticket.get_assigned_to }}</td> <td>{{ ticket.get_assigned_to }}</td>
</tr> </tr>
{% endfor %}{% else %} {% empty %}
<tr><td colspan='5'>{% trans "No Tickets Match Your Selection" %}</td></tr> <tr><td colspan='5'>{% trans "No Tickets Match Your Selection" %}</td></tr>
{% endif %} {% endfor %}
</tbody> </tbody>
</table> </table>
<div class="pagination"> <div class="pagination">