add localization for all form data
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
<div class="page-header">
|
||||
<ul class="breadcrumb">
|
||||
<li><a href="<%= %>">Home</a></li>
|
||||
<li><a href="<%= settings_menu_categories_path %>">Menus Categories</a></li>
|
||||
<li><a href="<%= %>"><%= t("views.right_panel.button.home") %></a></li>
|
||||
<li><a href="<%= settings_menu_categories_path %>"><%= t("views.right_panel.header.menu_item_instances") %></a></li>
|
||||
|
||||
<li>Menu Items</li>
|
||||
<li><%= t("views.right_panel.header.menu_items") %></li>
|
||||
<span style="float: right">
|
||||
<%= link_to t("views.btn.new"),new_settings_menu_category_set_menu_item_path(@category),:class => 'btn btn-primary btn-sm' %>
|
||||
</span>
|
||||
@@ -11,16 +11,16 @@
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card-block">
|
||||
<h4 class="card-title">Menu Category</h4>
|
||||
<h4 class="card-title"><%= t("views.right_panel.header.menu_category") %></h4>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Menu</th>
|
||||
<th>Name</th>
|
||||
<th>Alt name</th>
|
||||
<th>Order by</th>
|
||||
<th>Parent</th>
|
||||
<th colspan="2">Actions</th>
|
||||
<th><%= t("views.right_panel.detail.menu") %></th>
|
||||
<th><%= t("views.right_panel.detail.name") %></th>
|
||||
<th><%= t("views.right_panel.detail.alt_name") %></th>
|
||||
<th><%= t("views.right_panel.detail.order_by") %></th>
|
||||
<th><%= t("views.right_panel.detail.parent") %></th>
|
||||
<th><%= t("views.right_panel.detail.actions") %></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
<br/>
|
||||
<div class="card">
|
||||
<div class="card-block">
|
||||
<h4 class="card-title">Menu Items
|
||||
<h4 class="card-title"><%= t("views.right_panel.header.menu_items") %>
|
||||
<span style="float: right">
|
||||
<%= link_to "New Simple Menu Item",new_settings_menu_category_simple_menu_item_path(@category),:class => 'btn btn-primary btn-sm' %>
|
||||
<%= link_to "New Set Menu Item",new_settings_menu_category_set_menu_item_path(@category),:class => 'btn btn-primary btn-sm' %>
|
||||
@@ -59,15 +59,14 @@
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Item code</th>
|
||||
<th>Name</th>
|
||||
<th>Alt name</th>
|
||||
<th>Type</th>
|
||||
<th>Parent Item</th>
|
||||
<th>Created by</th>
|
||||
<th>Created at</th>
|
||||
|
||||
<th colspan="3"></th>
|
||||
<th><%= t("views.right_panel.detail.item_code") %></th>
|
||||
<th><%= t("views.right_panel.detail.name") %></th>
|
||||
<th><%= t("views.right_panel.detail.alt_name") %></th>
|
||||
<th><%= t("views.right_panel.detail.type") %></th>
|
||||
<th><%= t("views.right_panel.detail.parent_item") %></th>
|
||||
<th><%= t("views.right_panel.detail.created_by") %></th>
|
||||
<th><%= t("views.right_panel.detail.created_at") %></th>
|
||||
<th><%= t("views.right_panel.detail.actions") %></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user