Major supplier refactor making the whole system work better
This commit is contained in:
@@ -20,27 +20,18 @@
|
||||
Qsupplier.App.DropdownLink title="Action"
|
||||
ul
|
||||
li
|
||||
a{action addTables}
|
||||
span.section-add-tables-icon
|
||||
=t 'section.add_tables.button_label'
|
||||
a{action "addTables"}: span.section-add-tables-icon=t 'section.add_tables.button_label'
|
||||
li
|
||||
a{action arrangeTables}
|
||||
span.section-arrange-tables-icon
|
||||
=t 'section.arrange_tables.modal.title'
|
||||
a{action "arrangeTables"}: span.section-arrange-tables-icon=t 'section.arrange_tables.modal.title'
|
||||
li
|
||||
a href="{{route 'qr_codes_suppliers_tables_path' section_id=id}}"
|
||||
span.table-qr-codes
|
||||
=t 'tables.qr_codes.link'
|
||||
a href="{{route 'qr_codes_suppliers_tables_path' section_id=id}}": span.table-qr-codes=t 'tables.qr_codes.link'
|
||||
li
|
||||
/a.section-destroy href="{{route 'suppliers_section_path' id}}" data-method="delete" data-confirm="{{t 'helpers.links.are_you_sure' bare=true}}"
|
||||
a.section-destroy{action destroySection}
|
||||
span.section-remove-icon
|
||||
=t 'helpers.links.destroy'
|
||||
a.section-destroy{action "destroySection"}: span.section-remove-icon=t 'helpers.links.destroy'
|
||||
Ember.TextField valueBinding="title" class="section-edit-title-field"
|
||||
Qsupplier.App.NumberField valueBinding="width" class="dimension section-edit-width-field"
|
||||
span.fa.fa-lg.fa-times
|
||||
Qsupplier.App.NumberField valueBinding="height" class="dimension section-edit-height-field"
|
||||
a.section-normal-mode-button{ action finishEditable }: span
|
||||
a.section-normal-mode-button{ action "finishEditable" }: span
|
||||
else
|
||||
a.section-edit-mode-button{ action makeEditable }: span
|
||||
a.section-edit-mode-button{ action "makeEditable" }: span
|
||||
Qsupplier.App.SectionTablesView contentBinding="tables"
|
||||
|
||||
Reference in New Issue
Block a user