forked from nanego/my-dcim
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added translations for manufacturer resource
- Loading branch information
Maximilien Bausson
committed
Oct 11, 2023
1 parent
db0dd87
commit 46125c7
Showing
8 changed files
with
82 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
<div class="page-header"> | ||
<%= link_to manufacturers_path, class: 'btn btn-default' do %> | ||
<span class="glyphicon glyphicon-list-alt"></span> | ||
Retour | ||
<%= t("action.back") %> | ||
<% end %> | ||
<%= link_to @manufacturer, class: 'btn btn-primary' do %> | ||
<span class="glyphicon glyphicon-info-sign"></span> | ||
Voir | ||
<%= t("action.show") %> | ||
<% end %> | ||
<h1>Editing manufacturer</h1> | ||
<h1> | ||
<%= t(".title") %> | ||
</h1> | ||
</div> | ||
|
||
<%= render 'form' %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
<div class="page-header"> | ||
<%= link_to manufacturers_path, class: 'btn btn-default' do %> | ||
<span class="glyphicon glyphicon-list-alt"></span> | ||
Retour | ||
<%= t("action.back") %> | ||
<% end %> | ||
<h1>New manufacturer</h1> | ||
<h1> | ||
<%= t(".title") %> | ||
</h1> | ||
</div> | ||
|
||
<%= render 'form' %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,36 @@ | ||
<div class="page-header"> | ||
<%= link_to manufacturers_path, class: 'btn btn-default' do %> | ||
<span class="glyphicon glyphicon-list-alt"></span> | ||
Retour | ||
<%= t("action.back") %> | ||
<% end %> | ||
<%= link_to edit_manufacturer_path(@manufacturer), class: 'btn btn-primary' do %> | ||
<span class="glyphicon glyphicon-pencil"></span> | ||
Edit | ||
<%= t("action.edit") %> | ||
<% end %> | ||
<h1>Voir manufacturer</h1> | ||
<h1> | ||
<%= t(".title") %> | ||
</h1> | ||
</div> | ||
|
||
<div class="col-lg-6"> | ||
<div class="panel panel-primary"> | ||
<div class="panel-body"> | ||
<dl class="dl-horizontal"> | ||
<dt>Nom :</dt> | ||
<dt> | ||
<%= Manufacturer.human_attribute_name(:name) %> : | ||
</dt> | ||
<dd><%= @manufacturer %></dd> | ||
|
||
<dt>Description:</dt> | ||
<dt> | ||
<%= Manufacturer.human_attribute_name(:description) %> : | ||
</dt> | ||
<dd><%= @manufacturer.description %></dd> | ||
|
||
<dt>Documentation URL:</dt> | ||
<dt> | ||
<%= Manufacturer.human_attribute_name(:documentation_url) %> : | ||
</dt> | ||
<dd><%= @manufacturer.documentation_url %></dd> | ||
</dl> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters