supplier improvements
This commit is contained in:
@@ -22,6 +22,7 @@ html lang="en"
|
||||
var supplier_id = '#{current_supplier.id}';
|
||||
var data_host = '';
|
||||
var event_host = '#{event_host}';
|
||||
var datepicker_options = {dateFormat: 'yy-mm-dd', firstDay: #{current_supplier.week_starts_on_monday? ? 1 : 0}};
|
||||
|
||||
= yield :head
|
||||
|
||||
@@ -50,11 +51,11 @@ html lang="en"
|
||||
ul.nav#top-navigation-list
|
||||
//li= link_to t('supplier.menu.active_orders', orders: Order.model_name.human_plural), supplier_active_orders_path
|
||||
//li= link_to t('supplier.menu.active_lists', lists: List.model_name.human_plural), supplier_active_lists_path
|
||||
li= link_to ProductCategory.model_name.human_plural, suppliers_product_categories_path
|
||||
li= link_to Product.model_name.human_plural, suppliers_products_path
|
||||
li= link_to Section.model_name.human_plural, suppliers_sections_path
|
||||
li= link_to Table.model_name.human_plural, suppliers_tables_path
|
||||
li= link_to List.model_name.human_plural, suppliers_lists_path
|
||||
li= link_to ProductCategory.model_name.human_plural, suppliers_product_categories_path, data: {t: 'models.plural.product_category'}
|
||||
li= link_to Product.model_name.human_plural, suppliers_products_path, data: {t: 'models.plural.product'}
|
||||
li= link_to Section.model_name.human_plural, suppliers_sections_path, data: {t: 'models.plural.section'}
|
||||
li= link_to Table.model_name.human_plural, suppliers_tables_path, data: {t: 'models.plural.table'}
|
||||
li= link_to List.model_name.human_plural, suppliers_lists_path, data: {t: 'models.plural.list'}
|
||||
.container
|
||||
.content.main-content
|
||||
- if flash[:alert].present?
|
||||
@@ -81,3 +82,5 @@ html lang="en"
|
||||
= javascript_include_tag "supplier/application"
|
||||
script#alert-template[type="text/html"]= mustache_template 'supplier/alert'
|
||||
= yield :footer
|
||||
javascript:
|
||||
jQuery(function(){#{onload_javascript}});
|
||||
|
||||
Reference in New Issue
Block a user