Sha256: 2a1e64420b7b15be9f0cecdaf8d6f4d4c289774f49c2037c8ecb0e60e352fe24
Contents?: true
Size: 1.55 KB
Versions: 16
Compression:
Stored size: 1.55 KB
Contents
<%= render layout: "/layouts/#{Rails.application.config.apidae_layout}" do |styles| %> <div id="apidae_header" class="<%= styles[:header] %>"> <%= link_to 'Retour', @selection ? selections_path : root_path, class: styles[:back] %> <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] %>"> <tr> <th>Titre</th> <th>Identifiant</th> <th>Type</th> <th>Mise à jour</th> </tr> </thead> <tbody class="<%= styles[:table_body] %>"> <% @objects.each do |object| %> <tr> <td><%= object.title %></td> <td><%= object.apidae_id %></td> <td><%= object.apidae_type %></td> <td><%= object.updated_at.strftime('Le %d/%m/%Y à %H:%M') if object.updated_at %></td> </tr> <% end %> <% if @objects.empty? %> <tr> <td colspan="4">Aucun objet importé pour le moment.</td> </tr> <% end %> </tbody> </table> </div> </div> <% end %> <script> document.addEventListener("DOMContentLoaded", function(event) { apidaeEngineCallback("objects"); }); </script>
Version data entries
16 entries across 16 versions & 1 rubygems