improvements supplier translations
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
- model_class = Section
|
||||
.page-header= title t('section.manage_tables.title', section: Section.model_name.human.downcase, title: @section.title)
|
||||
.page-header data-t='section.manage_tables.title' data-t-attributes=%|{"title":"#{@section.title}"}|
|
||||
- content_for :row do
|
||||
ul.nav.nav-tabs
|
||||
- for section in @section.supplier.sections
|
||||
@@ -62,8 +62,8 @@
|
||||
.controls
|
||||
input.input-mini#add-tables-number-end type=:number value=120
|
||||
.modal-footer
|
||||
button.btn data-dismiss="modal" aria-hidden=true Close
|
||||
button.btn.btn-primary onclick="Qsupplier.add_tables_to_active_section()" Add
|
||||
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
|
||||
button.close type=:button data-dismiss=:modal aria-hidden=true x
|
||||
h3#arrange-tables-modal-label= t('supplier.section.arrange_tables.modal.title')
|
||||
@@ -87,5 +87,5 @@
|
||||
label for="arrange-tables-by-column-count"= t('supplier.section.arrange_tables.modal.by_column_count')
|
||||
input.input-mini#arrange-tables-by-column-count type="text" value=0
|
||||
.modal-footer
|
||||
button.btn data-dismiss="modal" aria-hidden=true Close
|
||||
button.btn.btn-primary onclick="Qsupplier.arrange_tables_of_active_section()" Add
|
||||
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'
|
||||
|
||||
Reference in New Issue
Block a user