Sha256: 8c41597269ac6c0c38fcdf723d83aafda016a8f10aa3d52d8ee18ca7d0e46eec

Contents?: true

Size: 1.38 KB

Versions: 19

Compression:

Stored size: 1.38 KB

Contents

<%= 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 - <%= @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 %>

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
apidae-0.5.1 app/views/apidae/objects/index.html.erb
apidae-0.5.0 app/views/apidae/objects/index.html.erb
apidae-0.4.5 app/views/apidae/objects/index.html.erb
apidae-0.4.4 app/views/apidae/objects/index.html.erb
apidae-0.4.3 app/views/apidae/objects/index.html.erb
apidae-0.4.2 app/views/apidae/objects/index.html.erb
apidae-0.4.1 app/views/apidae/objects/index.html.erb
apidae-0.4.0 app/views/apidae/objects/index.html.erb
apidae-0.3.6 app/views/apidae/objects/index.html.erb
apidae-0.3.5 app/views/apidae/objects/index.html.erb
apidae-0.3.4 app/views/apidae/objects/index.html.erb
apidae-0.3.3 app/views/apidae/objects/index.html.erb
apidae-0.3.2 app/views/apidae/objects/index.html.erb
apidae-0.3.1 app/views/apidae/objects/index.html.erb
apidae-0.3.0 app/views/apidae/objects/index.html.erb
apidae-0.2.9 app/views/apidae/objects/index.html.erb
apidae-0.2.8 app/views/apidae/objects/index.html.erb
apidae-0.2.7 app/views/apidae/objects/index.html.erb
apidae-0.2.6 app/views/apidae/objects/index.html.erb