Merge lp:~widelands-dev/widelands-website/more_latest_posts into lp:widelands-website
Proposed by
kaputtnik
Status: | Merged | ||||||||
---|---|---|---|---|---|---|---|---|---|
Merged at revision: | 528 | ||||||||
Proposed branch: | lp:~widelands-dev/widelands-website/more_latest_posts | ||||||||
Merge into: | lp:widelands-website | ||||||||
Diff against target: |
337 lines (+221/-10) 9 files modified
mainpage/templates/mainpage/header.html (+1/-1) pybb/forms.py (+12/-0) pybb/settings.py (+1/-0) pybb/templates/pybb/all_last_posts.html (+73/-0) pybb/templates/pybb/inlines/latest_posts_table.html (+21/-0) pybb/templates/pybb/last_posts.html (+3/-0) pybb/templatetags/pybb_extras.py (+11/-8) pybb/urls.py (+1/-0) pybb/views.py (+98/-1) |
||||||||
To merge this branch: | bzr merge lp:~widelands-dev/widelands-website/more_latest_posts | ||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
GunChleoc | Approve | ||
kaputtnik (community) | Needs Resubmitting | ||
Review via email: mp+364706@code.launchpad.net |
Commit message
Add a 'more latest posts view'
Description of the change
Add a view to show more 'latest posts'
- Add a link to the bottom of the 'Latest Posts' box
- Add a view showing the latest posts
- Add a form to adjust the days and the sort option: by topic/forum
- Increased number for the 'Last Post' box to have more last posts in it if too many posts are created in one topic.
- fixed url parsing after login: A url with a query string like '.../?page=
I have merged it on alpha for testing: http://
To post a comment you must log in.
Added some nits for strings and comments.
The grouping doesn't work properly. In
http:// alpha.widelands .org/forum/ latest_ posts/? days=400& sort_by= forum
I see the "Germany" forum twice and the topic "Na dann gucken wir mal wie das hier ist" 3 times.
In http:// alpha.widelands .org/forum/ latest_ posts/? days=400& sort_by= topic, I see the same topic listed multiple times as well.