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 active">Order Queue Stations</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.header.order_queue_stations") %></li>
|
||||
<span class="float-right">
|
||||
<%= link_to t('.back', :default => t("views.btn.back")), dashboard_path %>
|
||||
</span>
|
||||
@@ -20,17 +20,17 @@
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Station name</th>
|
||||
<th>Printer name</th>
|
||||
<th>Is active</th>
|
||||
<th>Auto Print</th>
|
||||
<th>Print copy</th>
|
||||
<th><%= t("views.right_panel.detail.station_name") %></th>
|
||||
<th><%= t("views.right_panel.detail.printer_name") %></th>
|
||||
<th><%= t("views.right_panel.detail.is_active") %></th>
|
||||
<th><%= t("views.right_panel.detail.auto_print") %></th>
|
||||
<th><%= t("views.right_panel.detail.print_copy") %></th>
|
||||
<!-- <th>Cut per item</th> -->
|
||||
<th>Alternate name</th>
|
||||
<th><%= t("views.right_panel.detail.alternate_name") %></th>
|
||||
<!-- <th>Created by</th> -->
|
||||
<th> Created At</th>
|
||||
<th><%= t("views.right_panel.detail.created_at") %></th>
|
||||
<!-- <th>Updated At</th> -->
|
||||
<th>Actions</th>
|
||||
<th><%= t("views.right_panel.detail.actions") %></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
|
||||
<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_order_queue_stations_path %>">Order Queue Stations</a></li>
|
||||
<li class="breadcrumb-item active">Detail</li>
|
||||
<li class="breadcrumb-item"><a href="<%= dashboard_path %>"><%= t("views.right_panel.button.home") %></a></li>
|
||||
<li class="breadcrumb-item"><a href="<%= settings_order_queue_stations_path %>"><%= t("views.right_panel.header.order_queue_stations") %></a></li>
|
||||
<li class="breadcrumb-item active"><%= t("en.details") %></li>
|
||||
<span class="float-right">
|
||||
<%= link_to t('.back', :default => t("views.btn.back")), settings_order_queue_stations_path %>
|
||||
</span>
|
||||
@@ -19,43 +19,43 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<tr>
|
||||
<th>Station name</th>
|
||||
<th><%= t("views.right_panel.detail.station_name") %></th>
|
||||
<td><%= @settings_order_queue_station.station_name %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Is active</th>
|
||||
<th><%= t("views.right_panel.detail.is_active") %></th>
|
||||
<td><%= @settings_order_queue_station.is_active %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Auto Print</th>
|
||||
<th><%= t("views.right_panel.detail.auto_print") %></th>
|
||||
<td><%= @settings_order_queue_station.auto_print %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Processing items</th>
|
||||
<th><%= t("views.right_panel.detail.processing_items") %></th>
|
||||
<td><%= JSON.parse(@settings_order_queue_station.processing_items).count %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Print copy</th>
|
||||
<th><%= t("views.right_panel.detail.print_copy") %></th>
|
||||
<td><%= @settings_order_queue_station.print_copy %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Printer name</th>
|
||||
<th><%= t("views.right_panel.detail.printer_name") %></th>
|
||||
<td><%= @settings_order_queue_station.printer_name %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Font size</th>
|
||||
<th><%= t("views.right_panel.detail.font_size") %></th>
|
||||
<td><%= @settings_order_queue_station.font_size %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Cut per item</th>
|
||||
<th><%= t("views.right_panel.detail.cut_per_print") %></th>
|
||||
<td><%= @settings_order_queue_station.cut_per_item %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Use alternate name</th>
|
||||
<th><%= t("views.right_panel.detail.alternate_name") %></th>
|
||||
<td><%= @settings_order_queue_station.use_alternate_name %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Created by</th>
|
||||
<th><%= t("views.right_panel.detail.created_by") %></th>
|
||||
<td><%= @settings_order_queue_station.created_by %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user