layout changes and section handling

This commit is contained in:
2012-09-02 14:23:17 +02:00
parent 50434c28cf
commit 0b56d07ed1
24 changed files with 390 additions and 283 deletions
+6
View File
@@ -65,9 +65,13 @@ en:
active_lists: Active %{lists}
active_lists:
title: Active %{lists}
price: Price
active_orders:
price: Price
close: Close the shop
you_are_currently_closed_alert: 'You are currently closed and not able to take orders'
mark_as_open_button: 'Open up the place!'
table_number: Table
user:
active_list:
title: Active %{list}
@@ -85,3 +89,5 @@ en:
show_active_list_products: Go to the menu
section:
first_section_title: Room
manage_tables:
title: "Manage tables for %{section}: %{title}"
+9 -2
View File
@@ -55,12 +55,19 @@ Qrammer::Application.routes.draw do
post '/user/check_table_join_status' => 'user#check_table_join_status'
match '/show_products' => 'dashboard#show_products', as: :user_products
#match '/show_products' => 'dashboard#show_products', as: :user_products
# DEVELOPMENT ONLY
match '/qr' => 'dashboard#qr'
match '/demo_both' => 'dashboard#demo_both'
namespace :suppliers, path: '/supplier' do
resources :sections
resources :sections do
member do
get :manage_tables
get :tables_view
end
end
resources :tables
resources :products
resources :product_categories