<%= render :partial => 'nav' %> <% @collections.values.sort_by { |c| c[:created_at] || Time.now }.reverse.each do |c| %> <% end %>
uuid created protected projects origin
<%= link_to c[:uuid], collection_path(c[:uuid]) %> <%= raw(distance_of_time_in_words(c[:created_at], Time.now).sub('about ','~').sub(' ',' ')) if c[:created_at] %> <%= ('Y' if c[:wanted_by_me]) or ('y' if c[:wanted]) %> <%= c[:projects].size if c[:projects] %> <% if c[:origin] %> <%= c[:origin].name %> <%= c[:origin].head_uuid %> <% end %>