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="<%= print_settings_path %>">Print Setting</a></li>
|
||||
<li class="breadcrumb-item active">Edit</li>
|
||||
<li class="breadcrumb-item"><a href="<%= dashboard_path %>"><%= t("views.right_panel.button.home") %></a></li>
|
||||
<li class="breadcrumb-item"><a href="<%= print_settings_path %>"><%= t("views.right_panel.header.print_settings") %></a></li>
|
||||
<li class="breadcrumb-item active"><%= t("views.btn.edit") %></li>
|
||||
<span class="float-right">
|
||||
<%= link_to t('.back', :default => t("views.btn.back")), print_settings_path %>
|
||||
</span>
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
|
||||
<div class="page-header">
|
||||
<ol class="breadcrumb">
|
||||
<li class="breadcrumb-item"><a href="<%= dashboard_path %>">Home</a></li>
|
||||
<li class="breadcrumb-item active">Print Settings</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.print_settings") %></li>
|
||||
<span class="float-right">
|
||||
<%= link_to t('.back', :default => t("views.btn.back")), dashboard_path %>
|
||||
</span>
|
||||
@@ -18,19 +18,19 @@
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Unique code</th>
|
||||
<th><%= t("views.right_panel.detail.name") %></th>
|
||||
<th><%= t("views.right_panel.detail.unique_code") %></th>
|
||||
<!-- <th>Template</th> -->
|
||||
<th>Printer name</th>
|
||||
<th>Font</th>
|
||||
<th><%= t("views.right_panel.detail.printer_name") %></th>
|
||||
<th><%= t("views.right_panel.detail.font") %></th>
|
||||
<!-- <th>Api settings</th> -->
|
||||
<th>Page width</th>
|
||||
<th>Page height</th>
|
||||
<th>Print copies</th>
|
||||
<th><%= t("views.right_panel.detail.page_width") %></th>
|
||||
<th><%= t("views.right_panel.detail.page_height") %></th>
|
||||
<th><%= t("views.right_panel.detail.print_copies") %></th>
|
||||
<!-- <th>Precision</th> -->
|
||||
<!-- <th>Delimiter</th> -->
|
||||
<!-- <th>Heading space</th> -->
|
||||
<th>Actions</th>
|
||||
<th><%= t("views.right_panel.detail.actions") %></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
|
||||
@@ -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="<%= print_settings_path %>">Print Setting</a></li>
|
||||
<li class="breadcrumb-item active">New</li>
|
||||
<li class="breadcrumb-item"><a href="<%= dashboard_path %>"><%= t("views.right_panel.button.home") %></a></li>
|
||||
<li class="breadcrumb-item"><a href="<%= print_settings_path %>"><%= t("views.right_panel.header.print_settings") %></a></li>
|
||||
<li class="breadcrumb-item active"><%= t("views.btn.new") %></li>
|
||||
<span class="float-right">
|
||||
<%= link_to t('.back', :default => t("views.btn.back")), print_settings_path %>
|
||||
</span>
|
||||
|
||||
@@ -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="<%= print_settings_path %>">Print Setting</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="<%= print_settings_path %>"><%= t("views.right_panel.header.print_settings") %></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_employees_path %>
|
||||
</span>
|
||||
@@ -15,39 +15,39 @@
|
||||
<table class="table">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th><%= t("views.right_panel.detail.name") %></th>
|
||||
<td><%= @print_setting.name %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Unique code</th>
|
||||
<th><%= t("views.right_panel.detail.unique_code") %></th>
|
||||
<td><%= @print_setting.unique_code %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Template</th>
|
||||
<th><%= t("views.right_panel.detail.template") %></th>
|
||||
<td><%= @print_setting.template %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Printer name</th>
|
||||
<th><%= t("views.right_panel.detail.printer_name") %></th>
|
||||
<td><%= @print_setting.printer_name %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Font</th>
|
||||
<th><%= t("views.right_panel.detail.font") %></th>
|
||||
<td><%= @print_setting.font rescue '-' %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Api settings</th>
|
||||
<th><%= t("views.right_panel.detail.api_settings") %></th>
|
||||
<td><%= @print_setting.api_settings %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Page width</th>
|
||||
<th><%= t("views.right_panel.detail.page_width") %></th>
|
||||
<td><%= @print_setting.page_width %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Page height</th>
|
||||
<th><%= t("views.right_panel.detail.page_height") %></th>
|
||||
<td><%= @print_setting.page_height %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Print copies</th>
|
||||
<th><%= t("views.right_panel.detail.print_copies") %></th>
|
||||
<td><%= @print_setting.print_copies %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user