Lots of bugfixes

BUGFIX: navigation bar should always activate the right tab (even when diging into a top period)
BUGFIX: /top pages titles
BUGFIX: no "edit category" button on /top page after visiting a category
BUGFIX: properly hide category columns when there is no children category (on both filter + top pages)
BUGFIX: promises not caught when scrolling down a topic list to load more of them
BUGFIX: CSS on category dropdowns
Updated `top_menu` i18n with available filters
This commit is contained in:
Régis Hanol
2014-01-17 04:38:08 +01:00
parent 4981525047
commit 129617b415
37 changed files with 178 additions and 123 deletions

View File

@ -203,14 +203,12 @@ Discourse::Application.routes.draw do
post "category/:category_id/move" => "categories#move", as: "category_move"
get "category/:category.rss" => "list#category_feed", format: :rss, as: "category_feed"
get "category/:category" => "list#category"
get "category/:category/more" => "list#category"
get "category/:category/none" => "list#category_none"
get "category/:category/none/more" => "list#category_none"
get "category/:parent_category/:category" => "list#category"
get "category/:parent_category/:category/more" => "list#category"
get "top" => "list#top_lists"
get "category/:category/l/top" => "list#top_lists"
get "category/:category/none/l/top" => "list#top_lists"
get "category/:parent_category/:category/l/top" => "list#top_lists"
TopTopic.periods.each do |period|