updates for qr handling

This commit is contained in:
2012-08-27 15:46:18 +02:00
parent c087aa0267
commit 157b2406a0
14 changed files with 79 additions and 36 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
.page-header= title 'Select Qr code'
ul#qr-list
- for table in @tables
li= link_to image_tag(url_for(qrcode_table_path(table, format: :png))), user_create_list_path(table_id: table.id)
li= link_to_function image_tag(url_for(qrcode_table_path(table, format: :png))), %|Quser.actions_for_table('#{table.id}')|
+1 -1
View File
@@ -33,7 +33,7 @@ html lang="en"
ul.nav#top-navigation-list
- if list_open?
li= link_to 'Move table', '#'
li= link_to 'View history', user_history_path
li= link_to 'View history', user_list_history_path
.container
+2
View File
@@ -0,0 +1,2 @@
= render template: 'supplier/active_lists'
= render template: 'supplier/active_orders'
+2
View File
@@ -4,5 +4,7 @@ ul.nav.nav-tabs.nav-stacked
li= link_to 'Active list', user_active_list_path
- else
li= link_to 'Join table with Qr scan', '/select_qrcode'
li
button.btn.btn-primary onClick="QMobile.scanQr()" Scan Qr
li= link_to 'Subscribe to list', '#'
li= link_to 'Check out menu', '#'