add localization for all form data
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<div class="page-header">
|
||||
<ol class="breadcrumb">
|
||||
<li class="breadcrumb-item"><a href="<%= dashboard_path %>">Home</a></li>
|
||||
<li class="breadcrumb-item"><a href="<%= settings_menu_category_simple_menu_items_path(@category) %>">Menu Category</a></li>
|
||||
<li class="breadcrumb-item active">Details</li>
|
||||
<li class="breadcrumb-item"><a href="<%= dashboard_path %>"><%= t("views.right_panel.button.home") %></a></li>
|
||||
<li class="breadcrumb-item"><a href="<%= settings_menu_category_simple_menu_items_path(@category) %>"><%= t("views.right_panel.header.menu_item") %></a></li>
|
||||
<li class="breadcrumb-item active"><%= t("en.details") %></li>
|
||||
<span class="float-right">
|
||||
<%= link_to 'Back', settings_menu_category_simple_menu_items_path(@category) %>
|
||||
</span>
|
||||
@@ -27,23 +27,23 @@
|
||||
<div class="col-xs-12 col-sm-12 col-md-7 col-lg-7">
|
||||
<div class="card">
|
||||
<div class="card-block">
|
||||
<h4 class="card-title">Menu Item </h4>
|
||||
<h4 class="card-title"><%= t("views.right_panel.header.menu_item") %></h4>
|
||||
<div class="body table-responsive">
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Item code</th>
|
||||
<th>Name</th>
|
||||
<th><%= t("views.right_panel.detail.item_code") %></th>
|
||||
<th><%= t("views.right_panel.detail.name") %></th>
|
||||
<!-- <th>Alt name</th> -->
|
||||
<th>Type</th>
|
||||
<th>Account</th>
|
||||
<th><%= t("views.right_panel.detail.type") %></th>
|
||||
<th><%= t("views.right_panel.detail.account") %></th>
|
||||
<!-- <th>Menu category</th> -->
|
||||
<!-- <th>Menu item</th> -->
|
||||
<!-- <th>Min qty</th> -->
|
||||
<!-- <th>Min selectable item</th>
|
||||
<th>Max selectable item</th> -->
|
||||
<th>Created At</th>
|
||||
<th>Actions</th>
|
||||
<th><%= t("views.right_panel.detail.created_at") %></th>
|
||||
<th><%= t("views.right_panel.detail.actions") %></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
@@ -79,7 +79,7 @@
|
||||
|
||||
<div class="card">
|
||||
<div class="card-block">
|
||||
<h4 class="card-title">Menu Item Instances
|
||||
<h4 class="card-title"><%= t("views.right_panel.header.menu_item_instances") %>
|
||||
<span style="float: right">
|
||||
|
||||
<%= link_to t("views.btn.new"),new_settings_simple_menu_item_menu_item_instance_path(@settings_menu_item),:class => 'btn btn-primary btn-sm' %>
|
||||
@@ -90,14 +90,14 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<!-- <th>Menu Item Id</th> -->
|
||||
<th>Instance Code</th>
|
||||
<th>Instances Name</th>
|
||||
<th>Item Attributes</th>
|
||||
<th>Price</th>
|
||||
<th>Promotion</th>
|
||||
<th><%= t("views.right_panel.detail.instance_code") %></th>
|
||||
<th><%= t("views.right_panel.detail.instance_name") %></th>
|
||||
<th><%= t("views.right_panel.detail.item_attributes") %></th>
|
||||
<th><%= t("views.right_panel.detail.price") %></th>
|
||||
<th><%= t("views.right_panel.detail.promotion") %></th>
|
||||
<!-- <th>Promotion Price</th> -->
|
||||
<!-- <th>Created at</th> -->
|
||||
<th>Actions</th>
|
||||
<th><%= t("views.right_panel.detail.actions") %></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
@@ -127,7 +127,7 @@
|
||||
<div class="col-xs-12 col-sm-12 col-md-3 col-lg-3">
|
||||
<div class="card">
|
||||
<div class="body">
|
||||
<h5><%= t("views.right_panel.header.menu_items") %></h5>
|
||||
<h5><%= t("views.right_panel.header.menu_item") %></h5>
|
||||
<h5><i class="material-icons md-18">view_headline <%= t("views.right_panel.header.page_detail") %></i></h5>
|
||||
<p>
|
||||
1) <%= t("views.right_panel.detail.item_code") %> - <%= t("views.right_panel.detail.code_txt") %> <%= t("views.right_panel.detail.for") %> <%= t("views.right_panel.detail.menu_item_txt") %> <br>
|
||||
@@ -164,11 +164,12 @@
|
||||
<p>
|
||||
1) <%= t("views.right_panel.button.home") %> - <%= t("views.right_panel.detail.home_txt") %> <br>
|
||||
2) <%= t("views.right_panel.button.back") %> - <%= t("views.right_panel.detail.home_txt") %> <br>
|
||||
3) <%= t("views.right_panel.button.menu") %> - <%= t("views.right_panel.detail.back_txt") %> <%= t("views.right_panel.detail.menu_txt") %><br>
|
||||
4) <%= t("views.right_panel.button.menu_categories") %> - <%= t("views.right_panel.detail.back_txt") %> <%= t("views.right_panel.detail.menu_categories_txt") %><br>
|
||||
5) <%= t("views.right_panel.button.item_set") %> - <%= t("views.right_panel.detail.back_txt") %> <%= t("views.right_panel.detail.item_set_txt") %> <br>
|
||||
6) <%= t("views.right_panel.button.item_attributes") %> - <%= t("views.right_panel.detail.back_txt") %> <%= t("views.right_panel.detail.item_attributes_txt") %> <br>
|
||||
7) <%= t("views.right_panel.button.item_options") %> - <%= t("views.right_panel.detail.back_txt") %> <%= t("views.right_panel.detail.item_options_txt") %> <br>
|
||||
3) <%= t("en.accounts") %> - <%= t("views.right_panel.detail.back_txt") %> <%= t("views.right_panel.detail.accounts_txt") %><br>
|
||||
4) <%= t("views.right_panel.button.menu") %> - <%= t("views.right_panel.detail.back_txt") %> <%= t("views.right_panel.detail.menu_txt") %><br>
|
||||
5) <%= t("views.right_panel.button.menu_categories") %> - <%= t("views.right_panel.detail.back_txt") %> <%= t("views.right_panel.detail.menu_categories_txt") %><br>
|
||||
6) <%= t("views.right_panel.button.item_set") %> - <%= t("views.right_panel.detail.back_txt") %> <%= t("views.right_panel.detail.item_set_txt") %> <br>
|
||||
7) <%= t("views.right_panel.button.item_attributes") %> - <%= t("views.right_panel.detail.back_txt") %> <%= t("views.right_panel.detail.item_attributes_txt") %> <br>
|
||||
8) <%= t("views.right_panel.button.item_options") %> - <%= t("views.right_panel.detail.back_txt") %> <%= t("views.right_panel.detail.item_options_txt") %> <br>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user