<%= SITE_TITLE %> Resources

We have <%= Resource.count %> entries from <%= Org.count %> different organizations.

<% if @resources -%> <% @resources.sort.each do |r| %> <% end -%> <% end -%>
<% next if not r.viewable? %> <%= link_to r.name, :action => 'show', :id => r.id %> <%= orgs = r.orgs; '  -  ' if orgs and not orgs.empty? %> <%= orgs.collect {|org| link_to org.name, :controller => 'org', :action => 'show', :id => org }.join(', ') %>
<%= r.byline %>