Replace will_paginate with kaminari. Fixed foodcoop/users page.

This commit is contained in:
benni 2012-10-08 15:24:32 +02:00
parent 1708df3f6c
commit ab81ef09d5
17 changed files with 162 additions and 64 deletions

View file

@ -10,6 +10,13 @@ de:
not_enough_apples:
Um zu Bestellen brauchst Du mindestends %{stop_ordering_under} Äpfel.
Momentan hat Deine Bestellgruppe aber nur %{apples} Äpfel.
views:
pagination:
first: "«"
last: "»"
previous: "‹"
next: "›"
truncate: "..."
date:
abbr_day_names:
- So

View file

@ -38,9 +38,9 @@ SimpleNavigation::Configuration.run do |navigation|
end
primary.item :admin, 'Administration', '#', if: Proc.new { current_user.role_admin? } do |subnav|
subnav.item :users, 'Benutzerinnen', admin_users_path
subnav.item :ordergroups, 'Bestellgruppen', admin_ordergroups_path
subnav.item :workgroups, 'Arbeitsgruppen', admin_workgroups_path
subnav.item :users, 'Benutzerinnen', admin_users_path, id: nil
subnav.item :ordergroups, 'Bestellgruppen', admin_ordergroups_path, id: nil
subnav.item :workgroups, 'Arbeitsgruppen', admin_workgroups_path, id: nil
end
primary.item :divider, '', '#', class: 'divider'