Sha256: 7fc21a4fb3e490ee2258e268ba4a3c7a3c378add8338aec4b78e34955181e3bb
Contents?: true
Size: 982 Bytes
Versions: 2
Compression:
Stored size: 982 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 %>> <% if resource.status == 'pending' %> <td><%= resource.name %></td> <td colspan="2" class='centered'>(pending)</td> <% else %> <td><a href="/projects/<%= resource.project_id %>/resources/<%= resource.id %>"><%= resource.name %></a></td> <%- if resource.import_id -%> <td colspan="2" class='centered'>(imported)</td> <%- else -%> <% unless @hide_connection %><td><%= resource.connection.name %></td><% end %> <td><%= resource.table_name %></td> <%- end -%> <% end %> </tr> <% end %> </tbody> </table> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
coupler-0.0.9-java | webroot/views/resources/list.erb |
coupler-0.0.8-java | webroot/views/resources/list.erb |