app/views/apidae/objects/index.html.erb in apidae-0.2.5 vs app/views/apidae/objects/index.html.erb in apidae-0.2.6
- old
+ new
@@ -1,8 +1,8 @@
<%= render layout: "/layouts/#{Rails.application.config.apidae_layout}" do |styles| %>
<div id="apidae_header" class="<%= styles[:header] %>">
<%= link_to 'Retour', :back, class: styles[:back] %>
- <h1 class="<%= styles[:h1] %>">Apidae - Objets touristiques</h1>
+ <h1 class="<%= styles[:h1] %>">Apidae - <%= @selection ? "Sélection \"#{@selection.label}\"" : "Tous les objets touristiques" %></h1>
</div>
<div id="apidae_dashboard" class="<%= styles[:wrapper] %>">
<div id="apidae_imports_panel" class="<%= styles[:body] %>">
<table id="apidae_objects" class="<%= styles[:table] %>">
<thead class="<%= styles[:table_head] %>">
\ No newline at end of file