Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
piks3l
Respect My Net
Commits
8409e501
Commit
8409e501
authored
Jul 05, 2011
by
stef
Browse files
[mod] removed pagination
parent
553503a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/list.html
View file @
8409e501
...
...
@@ -41,13 +41,12 @@
<th
filter-type=
'ddl'
>
{% trans "media" %}
</th>
<th
filter-type=
'ddl'
>
{% trans "temporary" %}
</th>
<th
filter-type=
'ddl'
>
{% trans "contractual" %}
</th>
<th
filter=
'false'
>
{% trans "contractual_excerpt" %}
</th>
<th
filter-type=
'ddl'
>
{% trans "loophole" %}
</th>
<th
filter=
'false'
>
{% trans "confirmations" %}
</th>
</tr>
</thead>
<tbody>
{% for violation in violations
.object_list
%}
{% for violation in violations %}
<tr>
<td><a
href=
"/view/{{violation.pk}}"
>
#{{ violation.pk }}
</a></td>
<td>
{{ violation.country }}
</td>
...
...
@@ -58,7 +57,6 @@
<td>
{{ violation.media }}
</td>
<td>
{{ violation.temporary }}
</td>
<td>
{{ violation.contractual }}
</td>
<td>
{{ violation.contractual_excerpt }}
</td>
<td>
{{ violation.loophole }}
</td>
<td>
{{ violation.confirmations }}
<div
class=
"confirm"
><a>
+1
</a>
<div
class=
"hidden confirm_popup"
>
...
...
@@ -78,21 +76,5 @@
{% endfor %}
</tbody>
</table>
<div
class=
"pagination"
>
<span
class=
"step-links"
>
{% if violations.has_previous %}
<a
href=
"?page={{ violations.previous_page_number }}"
>
previous
</a>
{% endif %}
<span
class=
"current"
>
{% trans "Page" %} {{ violations.number }} {% trans "of" %} {{ violations.paginator.num_pages }}.
</span>
{% if violations.has_next %}
<a
href=
"?page={{ violations.next_page_number }}"
>
{% trans "next" %}
</a>
{% endif %}
</span>
</div>
</div>
{%endblock%}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment