Fixes for event stream and section view actions
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
- content_for :head do
|
||||
= javascript_include_tag 'supplier/app/application'
|
||||
- content_for :footer do
|
||||
/- content_for :footer do
|
||||
javascript:
|
||||
$(function(){
|
||||
Qsupplier.watch_events();
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
-# DEPRICATED
|
||||
-# DEPRICATED now in ember app
|
||||
ul#table-actions-list
|
||||
- if @list
|
||||
- if @list.needs_help?
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
- model_class = Section
|
||||
/- model_class = Section
|
||||
- content_for :head do
|
||||
= javascript_include_tag 'supplier/app/application'
|
||||
/- content_for :row do
|
||||
@@ -8,7 +8,7 @@
|
||||
.section-manage-tables.pull-right= link_to content_tag(:span, '', class: 'icon-pencil'), manage_tables_suppliers_section_path(@section), class: 'btn btn-mini'
|
||||
- for table in @tables
|
||||
.section-table.hide[
|
||||
class="section-table-list-#{table.active_list_id}" id="section-table-#{table.id}"
|
||||
class="section-table-list-#{table.active_list_id}" id="section-table-#{table.id}"
|
||||
data-position-x=table.position_x data-position-y=table.position_y data-table-id=table.id]
|
||||
.table-number = table.number
|
||||
.status-icons
|
||||
@@ -19,7 +19,7 @@
|
||||
- @tables.each do |table|
|
||||
.section-table-menu-content class="section-table-menu-#{table.id} section-table-list-#{table.active_list_id}"
|
||||
button.btn.btn-info.list-is-helped.hide Question answered!
|
||||
#add-tables-modal.modal.hide.fade tabindex=-1 role=:dialog aria-labeledby='add-tables-modal-label' aria-hidden=true
|
||||
/#add-tables-modal.modal.hide.fade tabindex=-1 role=:dialog aria-labeledby='add-tables-modal-label' aria-hidden=true
|
||||
.modal-header
|
||||
button.close type=:button data-dismiss=:modal aria-hidden=true x
|
||||
h3#add-tables-modal-label data-t='section.add_tables.modal.title' = t('supplier.section.add_tables.modal.title')
|
||||
@@ -37,7 +37,7 @@
|
||||
.modal-footer
|
||||
button.btn data-dismiss="modal" aria-hidden=true data-t='section.add_tables.modal.close_button'
|
||||
button.btn.btn-primary onclick="Qsupplier.add_tables_to_active_section()" data-t='section.add_tables.modal.add_button'
|
||||
#arrange-tables-modal.modal.hide.fade tabindex=-1 role=:dialog aria-labeledby='add-tables-modal-label' aria-hidden=true
|
||||
/#arrange-tables-modal.modal.hide.fade tabindex=-1 role=:dialog aria-labeledby='add-tables-modal-label' aria-hidden=true
|
||||
button.close type=:button data-dismiss=:modal aria-hidden=true x
|
||||
h3#arrange-tables-modal-label data-t='section.arrange_tables.modal.title' = t('supplier.section.arrange_tables.modal.title')
|
||||
.modal-body
|
||||
@@ -66,7 +66,7 @@
|
||||
.modal-footer
|
||||
button.btn data-dismiss="modal" aria-hidden=true data-t='section.arrange_tables.modal.close_button'
|
||||
button.btn.btn-primary onclick="Qsupplier.arrange_tables_of_active_section()" data-t='section.arrange_tables.modal.arrange_button'
|
||||
- content_for :footer do
|
||||
/- content_for :footer do
|
||||
javascript:
|
||||
var current_section_id = '#{@section.id}';
|
||||
var current_section_width = #{@section.width};
|
||||
@@ -93,7 +93,7 @@
|
||||
container.html(data); // Create a container to parse translation data
|
||||
setTranslations(container);
|
||||
this.set('content.text', container.html());
|
||||
},
|
||||
},
|
||||
once: false
|
||||
},
|
||||
title: {
|
||||
|
||||
Reference in New Issue
Block a user