Sha256: 49b33bd012bcc723e0212d1cd0f22000bf64b1904023dbf0e0507b6846973cf0

Contents?: true

Size: 1.33 KB

Versions: 116

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 - Eléments de référence</h1>
  </div>
  <div class="<%= styles[:wrapper] %>">
    <div class="<%= styles[:body] %>">
      <table id="apidae_references" 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] %>">
        <% @references.each do |ref| %>
          <tr>
            <td><%= ref.label(:fr) %></td>
            <td><%= ref.apidae_id %></td>
            <td><%= ref.apidae_type %></td>
            <td><%= ref.updated_at.strftime('Le %d/%m/%Y à %H:%M') if ref.updated_at %></td>
          </tr>
        <% end %>
        <% if @references.empty? %>
          <tr>
            <td colspan="4">Aucune référence importée pour le moment.</td>
          </tr>
        <% end %>
        </tbody>
      </table>
    </div>
  </div>
<% end %>
<script>
    document.addEventListener("DOMContentLoaded", function(event) {
      apidaeEngineCallback("references");
    });
</script>

Version data entries

116 entries across 116 versions & 1 rubygems

Version Path
apidae-2.0.1 app/views/apidae/references/index.html.erb
apidae-2.0.0 app/views/apidae/references/index.html.erb
apidae-1.4.13 app/views/apidae/references/index.html.erb
apidae-1.4.12 app/views/apidae/references/index.html.erb
apidae-1.4.11 app/views/apidae/references/index.html.erb
apidae-1.4.10 app/views/apidae/references/index.html.erb
apidae-1.4.9 app/views/apidae/references/index.html.erb
apidae-1.4.8 app/views/apidae/references/index.html.erb
apidae-1.4.7 app/views/apidae/references/index.html.erb
apidae-1.4.6 app/views/apidae/references/index.html.erb
apidae-1.4.5 app/views/apidae/references/index.html.erb
apidae-1.4.4 app/views/apidae/references/index.html.erb
apidae-1.4.3 app/views/apidae/references/index.html.erb
apidae-1.2.35 app/views/apidae/references/index.html.erb
apidae-1.2.34 app/views/apidae/references/index.html.erb
apidae-1.2.33 app/views/apidae/references/index.html.erb
apidae-1.4.2 app/views/apidae/references/index.html.erb
apidae-1.4.1 app/views/apidae/references/index.html.erb
apidae-1.4.0 app/views/apidae/references/index.html.erb
apidae-1.2.32 app/views/apidae/references/index.html.erb