Topics should have first/last links and to every page in that topic
Bug #336699 reported by
Fake Name
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Widelands Website |
Fix Released
|
Medium
|
Unassigned |
Bug Description
All pages should have links to first/last pages and every other page. First/last links should only be displayed when a topic has more than/equal to 3 pages, about links to every page, only when there are 2 or more.
Later possibly added to forum pages.
Related branches
lp:~timo-wingender/widelands-website/ggz-support
- Widelands Developers: Pending requested
-
Diff: 5503 lines (+2736/-1294)89 files modifieddiff_match_patch.py (+2/-2)
media/css/base.css (+225/-101)
media/css/comments.css (+8/-8)
media/css/forum.css (+30/-90)
media/css/ggz.css (+12/-0)
media/css/messages.css (+3/-76)
media/css/news.css (+68/-83)
media/css/notice.css (+12/-0)
media/css/profile.css (+7/-79)
news/templatetags/news.py (+31/-0)
news/urls.py (+12/-12)
news/views.py (+0/-1)
pybb/feeds.py (+22/-5)
pybb/forms.py (+14/-3)
pybb/management/__init__.py (+1/-0)
pybb/management/pybb_notifications.py (+20/-0)
pybb/models.py (+14/-2)
pybb/templatetags/pybb_extras.py (+132/-1)
pybb/urls.py (+4/-0)
pybb/util.py (+3/-5)
pybb/views.py (+7/-0)
settings.py (+1/-0)
templates/django_messages/compose.html (+16/-21)
templates/django_messages/inbox.html (+9/-6)
templates/django_messages/inlines/navigation.html (+14/-14)
templates/django_messages/outbox.html (+9/-5)
templates/django_messages/trash.html (+25/-14)
templates/mainpage.html (+40/-44)
templates/mainpage/online_users.html (+8/-5)
templates/navigation.html (+16/-2)
templates/news/inlines/post_detail.html (+49/-47)
templates/news/post_archive_day.html (+20/-14)
templates/news/post_archive_month.html (+21/-10)
templates/news/post_archive_year.html (+26/-11)
templates/news/post_list.html (+24/-30)
templates/notification/forum_new_post/full.txt (+7/-0)
templates/notification/forum_new_post/notice.html (+2/-0)
templates/notification/forum_new_topic/full.txt (+7/-0)
templates/notification/forum_new_topic/notice.html (+2/-0)
templates/notification/notices.html (+46/-28)
templates/notification/single.html (+50/-0)
templates/notification/wiki_article_edited/notice.html (+1/-1)
templates/pybb/add_post.html (+5/-4)
templates/pybb/delete_post.html (+15/-6)
templates/pybb/edit_post.html (+5/-4)
templates/pybb/forum.html (+62/-39)
templates/pybb/index.html (+7/-3)
templates/pybb/inlines/add_post_form.html (+27/-35)
templates/pybb/inlines/display_category.html (+9/-15)
templates/pybb/inlines/forum_row.html (+0/-2)
templates/pybb/inlines/post.html (+43/-71)
templates/pybb/inlines/topic_row.html (+11/-3)
templates/pybb/last_posts.html (+21/-0)
templates/pybb/pagination.html (+35/-14)
templates/pybb/topic.html (+73/-59)
templates/registration/base.html (+8/-0)
templates/registration/login.html (+49/-20)
templates/registration/password_change_done.html (+23/-8)
templates/registration/password_change_form.html (+65/-20)
templates/registration/password_reset_complete.html (+23/-8)
templates/registration/password_reset_confirm.html (+35/-21)
templates/registration/password_reset_done.html (+23/-8)
templates/registration/password_reset_form.html (+35/-14)
templates/registration/registration_complete.html (+19/-8)
templates/registration/registration_form.html (+82/-54)
templates/right_boxes.html (+27/-26)
templates/threadedcomments/inlines/comments.html (+33/-27)
templates/threadedcomments/preview_comment.html (+16/-18)
templates/wlggz/base.html (+12/-0)
templates/wlggz/edit_ggz.html (+43/-0)
templates/wlggz/view_ggz_highscore.html (+43/-0)
templates/wlggz/view_ggz_matches.html (+45/-0)
templates/wlggz/view_ggz_overview.html (+27/-0)
templates/wlggz/view_ggz_playerstats.html (+106/-0)
templates/wlprofile/edit_profile.html (+36/-11)
templates/wlprofile/view_profile.html (+21/-9)
templates/wlwebchat/index.html (+1/-1)
urls.py (+2/-0)
wiki/feeds.py (+29/-56)
wlggz/admin.py (+27/-0)
wlggz/fields.py (+85/-0)
wlggz/forms.py (+43/-0)
wlggz/ggz_models.py (+189/-0)
wlggz/models.py (+27/-0)
wlggz/urls.py (+25/-0)
wlggz/views.py (+117/-0)
wlprofile/models.py (+23/-0)
wlprofile/templatetags/custom_date.py (+58/-10)
wlprofile/templatetags/wlprofile.py (+6/-0)
Changed in widelands-website: | |
assignee: | nobody → soeb |
Changed in widelands-website: | |
importance: | Undecided → Medium |
description: | updated |
Changed in widelands-website: | |
status: | New → In Progress |
Changed in widelands-website: | |
assignee: | soeb → nobody |
Changed in widelands-website: | |
status: | In Progress → Confirmed |
Changed in widelands-website: | |
status: | Confirmed → In Progress |
Changed in widelands-website: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
You might want to check out django-pagination (which is already used on the homepage) or the built in django. contrib. pagination. This should make things easier.
On a sidenote: pybb also contains a pagination function; this should be stripped from our fork (like all the other functionality that we do not want to use like pm (we are using django-messages) and notification (we will use django-notification like for all the other apps so far).