Sha256: 36c280569c4e6cc2c3c54d4b39c4eedf982f0e75edd956e8f2b2abe4e8b75c63

Contents?: true

Size: 1.33 KB

Versions: 13

Compression:

Stored size: 1.33 KB

Contents

<%= render layout: "/layouts/#{Rails.application.config.apidae_layout}" do |styles| %>
    <div id="apidae_header" class="<%= styles[:header] %>">
      <%= link_to 'Retour', root_path, class: styles[:back] %>
      <h1 class="<%= styles[:h1] %>">Apidae - Sélections</h1>
    </div>
    <div id="apidae_dashboard" class="<%= styles[:wrapper] %>">
      <div id="apidae_imports_panel" class="<%= styles[:body] %>">
        <table id="apidae_selections" class="<%= styles[:table] %>">
          <thead class="<%= styles[:table_head] %>">
          <tr>
            <th>Label</th>
            <th>Reference</th>
            <th>Identifiant</th>
            <th>Objets</th>
          </tr>
          </thead>
          <tbody class="<%= styles[:table_body] %>">
          <% @selections.each do |selection| %>
              <tr>
                <td><%= selection.label %></td>
                <td><%= selection.reference %></td>
                <td><%= selection.apidae_id %></td>
                <td><%= link_to selection.objects.count, selection_objects_path(selection) %></td>
              </tr>
          <% end %>
          <% if @selections.empty? %>
            <tr>
              <td colspan="4">Aucune sélection importée pour le moment.</td>
            </tr>
          <% end %>
          </tbody>
        </table>
      </div>
    </div>
<% end %>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
apidae-0.7.8 app/views/apidae/selections/index.html.erb
apidae-0.7.7 app/views/apidae/selections/index.html.erb
apidae-0.7.6 app/views/apidae/selections/index.html.erb
apidae-0.7.3 app/views/apidae/selections/index.html.erb
apidae-0.7.2 app/views/apidae/selections/index.html.erb
apidae-0.7.1 app/views/apidae/selections/index.html.erb
apidae-0.7.0 app/views/apidae/selections/index.html.erb
apidae-0.6.3 app/views/apidae/selections/index.html.erb
apidae-0.6.2 app/views/apidae/selections/index.html.erb
apidae-0.6.1 app/views/apidae/selections/index.html.erb
apidae-0.6.0 app/views/apidae/selections/index.html.erb
apidae-0.5.3 app/views/apidae/selections/index.html.erb
apidae-0.5.2 app/views/apidae/selections/index.html.erb