Skip to content

Commit

Permalink
Replaced double-quote instead of simple-quote
Browse files Browse the repository at this point in the history
  • Loading branch information
Maximilien Bausson committed Oct 5, 2023
1 parent 6b371c2 commit 88446ca
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 23 deletions.
40 changes: 20 additions & 20 deletions app/views/pages/_params_menu.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,36 +4,36 @@
<a href="#" class="list-group-item disabled">
<%= t(".location.title") %>
</a>
<a href="<%= sites_path %>" class="list-group-item <%= controller.controller_name == "sites" ? 'active' : '' %>"><%= Site.model_name.human.pluralize %></a>
<a href="<%= rooms_path %>" class="list-group-item <%= controller.controller_name == "rooms" ? 'active' : '' %>"><%= Room.model_name.human.pluralize %></a>
<a href="<%= islets_path %>" class="list-group-item <%= controller.controller_name == "islets" ? 'active' : '' %>"><%= Islet.model_name.human.pluralize %></a>
<a href="<%= bays_path %>" class="list-group-item <%= controller.controller_name == "bays" ? 'active' : '' %>"><%= t(".location.bays") %></a>
<a href="<%= frames_path %>" class="list-group-item <%= controller.controller_name == "frames" ? 'active' : '' %>"><%= Frame.model_name.human.pluralize %></a>
<a href="<%= sites_path %>" class="list-group-item <%= controller.controller_name == "sites" ? "active" : "" %>"><%= Site.model_name.human.pluralize %></a>
<a href="<%= rooms_path %>" class="list-group-item <%= controller.controller_name == "rooms" ? "active" : "" %>"><%= Room.model_name.human.pluralize %></a>
<a href="<%= islets_path %>" class="list-group-item <%= controller.controller_name == "islets" ? "active" : "" %>"><%= Islet.model_name.human.pluralize %></a>
<a href="<%= bays_path %>" class="list-group-item <%= controller.controller_name == "bays" ? "active" : "" %>"><%= t(".location.bays") %></a>
<a href="<%= frames_path %>" class="list-group-item <%= controller.controller_name == "frames" ? "active" : "" %>"><%= Frame.model_name.human.pluralize %></a>
</div>

<div class="list-group">
<a href="#" class="list-group-item disabled">Matériel</a>
<a href="<%= servers_path %>" class="list-group-item <%= controller.controller_name == "servers" ? 'active' : '' %>">Matériels</a>
<a href="<%= servers_path %>" class="list-group-item <%= controller.controller_name == "servers" ? "active" : "" %>">Matériels</a>
</div>

<div class="list-group">
<a href="#" class="list-group-item disabled">
<%= t(".material_management.title") %>
</a>
<a href="<%= modeles_path %>" class="list-group-item <%= controller.controller_name == "modeles" ? 'active' : '' %>"><%= Modele.model_name.human.pluralize %></a>
<a href="<%= categories_path %>" class="list-group-item <%= controller.controller_name == "categories" ? 'active' : '' %>"><%= Category.model_name.human(count: 2) %></a>
<a href="<%= architectures_path %>" class="list-group-item <%= controller.controller_name == "architectures" ? 'active' : '' %>"><%= Architecture.model_name.human.pluralize %></a>
<a href="<%= manufacturers_path %>" class="list-group-item <%= controller.controller_name == "manufacturers" ? 'active' : '' %>"><%= Manufacturer.model_name.human.pluralize %></a>
<a href="<%= domaines_path %>" class="list-group-item <%= controller.controller_name == "domaines" ? 'active' : '' %>"><%= Domaine.model_name.human.pluralize %></a>
<a href="<%= gestions_path %>" class="list-group-item <%= controller.controller_name == "gestions" ? 'active' : '' %>"><%= Gestion.model_name.human.pluralize %></a>
<a href="<%= clusters_path %>" class="list-group-item <%= controller.controller_name == "clusters" ? 'active' : '' %>"><%= Cluster.model_name.human.pluralize %></a>
<a href="<%= stacks_path %>" class="list-group-item <%= controller.controller_name == "stacks" ? 'active' : '' %>"><%= Stack.model_name.human.pluralize %></a>
<a href="<%= card_types_path %>" class="list-group-item <%= controller.controller_name == "card_types" ? 'active' : '' %>"><%= CardType.model_name.human(count: 2) %></a>
<a href="<%= colors_path %>" class="list-group-item <%= controller.controller_name == "colors" ? 'active' : '' %>"><%= Color.model_name.human.pluralize %></a>
<a href="<%= maintainers_path %>" class="list-group-item <%= controller.controller_name == "maintainers" ? 'active' : '' %>"><%= Maintainer.model_name.human.pluralize %></a>
<a href="<%= contract_types_path %>" class="list-group-item <%= controller.controller_name == "contract_types" ? 'active' : '' %>"><%= ContractType.model_name.human(count: 2) %></a>
<a href="<%= disk_types_path %>" class="list-group-item <%= controller.controller_name == "disk_types" ? 'active' : '' %>"><%= DiskType.model_name.human(count: 2) %></a>
<a href="<%= memory_types_path %>" class="list-group-item <%= controller.controller_name == "memory_types" ? 'active' : '' %>"><%= MemoryType.model_name.human(count: 2) %></a>
<a href="<%= modeles_path %>" class="list-group-item <%= controller.controller_name == "modeles" ? "active" : "" %>"><%= Modele.model_name.human.pluralize %></a>
<a href="<%= categories_path %>" class="list-group-item <%= controller.controller_name == "categories" ? "active" : "" %>"><%= Category.model_name.human(count: 2) %></a>
<a href="<%= architectures_path %>" class="list-group-item <%= controller.controller_name == "architectures" ? "active" : "" %>"><%= Architecture.model_name.human.pluralize %></a>
<a href="<%= manufacturers_path %>" class="list-group-item <%= controller.controller_name == "manufacturers" ? "active" : "" %>"><%= Manufacturer.model_name.human.pluralize %></a>
<a href="<%= domaines_path %>" class="list-group-item <%= controller.controller_name == "domaines" ? "active" : "" %>"><%= Domaine.model_name.human.pluralize %></a>
<a href="<%= gestions_path %>" class="list-group-item <%= controller.controller_name == "gestions" ? "active" : "" %>"><%= Gestion.model_name.human.pluralize %></a>
<a href="<%= clusters_path %>" class="list-group-item <%= controller.controller_name == "clusters" ? "active" : "" %>"><%= Cluster.model_name.human.pluralize %></a>
<a href="<%= stacks_path %>" class="list-group-item <%= controller.controller_name == "stacks" ? "active" : "" %>"><%= Stack.model_name.human.pluralize %></a>
<a href="<%= card_types_path %>" class="list-group-item <%= controller.controller_name == "card_types" ? "active" : "" %>"><%= CardType.model_name.human(count: 2) %></a>
<a href="<%= colors_path %>" class="list-group-item <%= controller.controller_name == "colors" ? "active" : "" %>"><%= Color.model_name.human.pluralize %></a>
<a href="<%= maintainers_path %>" class="list-group-item <%= controller.controller_name == "maintainers" ? "active" : "" %>"><%= Maintainer.model_name.human.pluralize %></a>
<a href="<%= contract_types_path %>" class="list-group-item <%= controller.controller_name == "contract_types" ? "active" : "" %>"><%= ContractType.model_name.human(count: 2) %></a>
<a href="<%= disk_types_path %>" class="list-group-item <%= controller.controller_name == "disk_types" ? "active" : "" %>"><%= DiskType.model_name.human(count: 2) %></a>
<a href="<%= memory_types_path %>" class="list-group-item <%= controller.controller_name == "memory_types" ? "active" : "" %>"><%= MemoryType.model_name.human(count: 2) %></a>
</div>

</p>
2 changes: 1 addition & 1 deletion app/views/sites/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<% if @site.errors.any? %>
<div class="alert alert-danger alert-dismissable" role="alert">
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
<h4><%= t('form.errors.title', count: @site.errors.count) %> </h4>
<h4><%= t("form.errors.title", count: @site.errors.count) %> </h4>

<ul>
<% @site.errors.full_messages.each do |msg| %>
Expand Down
4 changes: 2 additions & 2 deletions app/views/sites/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<%= render 'layouts/breadcrumb', breadcrumb_variables: {
<%= render "layouts/breadcrumb", breadcrumb_variables: {
t("breadcrumb.settings") => modeles_url,
Site.model_name.human.pluralize => '' }
Site.model_name.human.pluralize => "" }
%>

<div class="container-fluid">
Expand Down

0 comments on commit 88446ca

Please sign in to comment.