Sha256: 34af2dd3bc4e61651c9560b8365b2d92c5dd5059f911857eb7e569b7938a07de
Contents?: true
Size: 813 Bytes
Versions: 4
Compression:
Stored size: 813 Bytes
Contents
<% if @resources.empty? %> <p>There are currently no resources for this project.</p> <% else %> <table class="list"> <thead> <tr> <th>Name</th> <% unless @hide_connection %><th>Connection</th><% end %> <th>Database</th> <th>Table</th> </tr> </thead> <tbody> <% @resources.each_with_index do |resource, i| %> <tr<%= ' class="alt"' if i % 2 == 1 %>> <td><a href="/projects/<%= @project.id %>/resources/<%= resource.id %>"><%= resource.name %></a></td> <%- if resource.import_id -%> <td colspan="3" class='centered'>(imported)</td> <%- else -%> <% unless @hide_connection %><td><%= resource.connection.name %></td><% end %> <td><%= resource.table_name %></td> <%- end -%> </tr> <% end %> </tbody> </table> <% end %>
Version data entries
4 entries across 4 versions & 1 rubygems