Sha256: f700278b0da292de03cd3476d812ba3cd0703fb461c60620be418a9b7b8f4b43
Contents?: true
Size: 797 Bytes
Versions: 2
Compression:
Stored size: 797 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>Table</th> </tr> </thead> <tbody> <% @resources.each_with_index do |resource, i| %> <tr<%= ' class="alt"' if i % 2 == 1 %>> <td><a href="/projects/<%= resource.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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
coupler-0.0.7-java | webroot/views/resources/list.erb |
coupler-0.0.6-java | webroot/views/resources/list.erb |