Add pickups role
This commit is contained in:
parent
4c41a99fde
commit
ac11ba1cc1
14 changed files with 42 additions and 15 deletions
|
|
@ -220,6 +220,7 @@ de:
|
|||
role_finance: Finanzen
|
||||
role_invoices: Rechnungen
|
||||
role_orders: Bestellverwaltung
|
||||
role_pickups: Abholtage
|
||||
role_suppliers: Lieferanten
|
||||
user_tokens: Mitglieder
|
||||
errors:
|
||||
|
|
@ -1082,6 +1083,7 @@ de:
|
|||
role_finance: Finanzen
|
||||
role_invoices: Rechnungen
|
||||
role_orders: Bestellung
|
||||
role_pickups: Abholtage
|
||||
role_suppliers: Lieferanten
|
||||
show_google_maps: Show it on Google maps
|
||||
sort_by: Nach %{text} sortieren
|
||||
|
|
|
|||
|
|
@ -220,6 +220,7 @@ en:
|
|||
role_finance: Finances
|
||||
role_invoices: Invoices
|
||||
role_orders: Order management
|
||||
role_pickups: Pickup days
|
||||
role_suppliers: Suppliers
|
||||
user_tokens: Members
|
||||
errors:
|
||||
|
|
@ -1084,6 +1085,7 @@ en:
|
|||
role_finance: Finance
|
||||
role_invoices: Invoices
|
||||
role_orders: Orders
|
||||
role_pickups: Pickup days
|
||||
role_suppliers: Suppliers
|
||||
show_google_maps: Show it on Google maps
|
||||
sort_by: Sort by %{text}
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ SimpleNavigation::Configuration.run do |navigation|
|
|||
subnav.item :ordering, I18n.t('navigation.orders.ordering'), group_orders_path
|
||||
subnav.item :ordering_archive, I18n.t('navigation.orders.archive'), archive_group_orders_path
|
||||
subnav.item :orders, I18n.t('navigation.orders.manage'), orders_path, if: Proc.new { current_user.role_orders? }
|
||||
subnav.item :pickups, I18n.t('navigation.orders.pickups'), pickups_path, if: Proc.new { current_user.role_orders? }
|
||||
subnav.item :pickups, I18n.t('navigation.orders.pickups'), pickups_path, if: Proc.new { current_user.role_pickups? }
|
||||
end
|
||||
|
||||
primary.item :articles, I18n.t('navigation.articles.title'), '#',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue