add localization for all form data
This commit is contained in:
@@ -9,9 +9,9 @@
|
||||
</div> -->
|
||||
<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_employees_path %>">Employees</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_employees_path %>"><%= t("views.right_panel.detail.employee") %></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>
|
||||
@@ -24,24 +24,24 @@
|
||||
<div class="col-xs-12 col-sm-12 col-md-8 col-lg-8">
|
||||
<div class="card">
|
||||
<div class="card-block">
|
||||
<h4 class="card-title">Employee</h4>
|
||||
<h4 class="card-title"><%= t("views.right_panel.detail.employee") %></h4>
|
||||
<table class="table">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th><%= t("views.right_panel.detail.name") %></th>
|
||||
<td><%= @employee.name %></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>Role</th>
|
||||
<th><%= t("views.right_panel.detail.role") %></th>
|
||||
<td><%= @employee.role %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Created At</th>
|
||||
<th><%= t("views.right_panel.detail.created_at") %></th>
|
||||
<td><%= @employee.created_at.utc.getlocal.strftime("%Y-%m-%d/%I:%M %p") %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Updated At</th>
|
||||
<th><%= t("views.right_panel.detail.updated_at") %></th>
|
||||
<td><%= @employee.updated_at.utc.getlocal.strftime("%Y-%m-%d/%I:%M %p") %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user