Sha256: 4e8aec7c1575290a4b843130d1f0197999af4acbc640f4a55d71d8d4951e3186
Contents?: true
Size: 1.22 KB
Versions: 2
Compression:
Stored size: 1.22 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 - Projets</h1> </div> <div class="<%= styles[:wrapper] %>"> <div class="<%= styles[:body] %>"> <table id="apidae_projects" class="<%= styles[:table] %>"> <thead class="<%= styles[:table_head] %>"> <tr> <th>Nom</th> <th>Identifiant</th> <th>Mise à jour</th> <th></th> </tr> </thead> <tbody class="<%= styles[:table_body] %>"> <% @projects.each do |proj| %> <tr> <td><%= proj.name %></td> <td><%= proj.apidae_id %></td> <td><%= proj.updated_at.strftime('Le %d/%m/%Y à %H:%M') if proj.updated_at %></td> <td><%= link_to 'Modifier', edit_project_path(proj) %></td> </tr> <% end %> <% if @projects.empty? %> <tr> <td colspan="4">Aucun projet pour le moment.</td> </tr> <% end %> </tbody> </table> </div> </div> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
apidae-0.7.5 | app/views/apidae/projects/index.html.erb |
apidae-0.7.4 | app/views/apidae/projects/index.html.erb |