Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-wiki
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
django-wiki
Commits
61044043
Commit
61044043
authored
Sep 30, 2013
by
benjaoming
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #199 from TomLottermann/master
Pagination is broken
parents
db32a3e5
29a03a35
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
wiki/templates/wiki/includes/pagination.html
+2
-4
No files found.
wiki/templates/wiki/includes/pagination.html
View file @
61044043
{% load i18n %}
{% if is_paginated %}
<div
class=
"pagination"
>
<ul>
<ul
class=
"pagination"
>
{% for pc in paginator.page_range %}
<li
class=
"{% if pc == page_obj.number %} active{% endif %}"
><a
href=
"?page={{ pc }}{% if appended_key %}&{{ appended_key }}={{ appended_value }}{% endif %}"
>
{{ pc }}
</a></li>
{% endfor %}
</ul>
</div>
</ul>
{% endif %}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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