General usability

This commit is contained in:
2015-03-05 12:24:45 +01:00
parent 3cf8d3c896
commit d061814989
30 changed files with 125 additions and 74 deletions
-1
View File
@@ -8,6 +8,5 @@ html lang="en"
= csrf_meta_tags
= stylesheet_link_tag "qr_sheet/application", :media => "all"
link href="/favicon.ico" rel="shortcut icon"
body
= yield
@@ -1,3 +1,7 @@
ul#qr-list
- for table in @tables
li= image_tag(url_for(table_qr_image_path(table_id: table.id, format: :svg)))
- if @tables.any?
ul#qr-list
- for table in @tables
li= image_tag(url_for(table_qr_image_path(table_id: table.id, format: :svg)))
- else
h3= t('supplier.table.add_tables_first.title')
p= t('supplier.table.add_tables_first.body')