add localization for all form data

This commit is contained in:
phyusin
2017-10-27 17:00:56 +06:30
parent d916c262d7
commit ef05aec1db
81 changed files with 735 additions and 621 deletions

View File

@@ -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 active">Promotion</li>
<li class="breadcrumb-item"><a href="<%= dashboard_path %>"><%= t("views.right_panel.button.home") %></a></li>
<li class="breadcrumb-item active"><%= t("views.right_panel.detail.promotion") %></li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), dashboard_path %>
</span>
@@ -18,16 +18,16 @@
<table class="table table-striped">
<thead>
<tr>
<th>Promotion Code</th>
<th>Start Date</th>
<th>End Date</th>
<th>Start Time</th>
<th>End Time</th>
<th>Promotion Day</th>
<th>Original Product</th>
<th>Created By</th>
<th>Created At</th>
<th colspan="2">Actions</th>
<th><%= t("views.right_panel.detail.promotion_code") %></th>
<th><%= t("views.right_panel.detail.start_date") %></th>
<th><%= t("views.right_panel.detail.end_date") %></th>
<th><%= t("views.right_panel.detail.start_time") %></th>
<th><%= t("views.right_panel.detail.end_time") %></th>
<th><%= t("views.right_panel.detail.promotion_day") %></th>
<th><%= t("views.right_panel.detail.original_product") %></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>