<% if collection.collection_preference.show_random || params[:show_random] %>
<%= ts("Random works") %>
<% else %>
<%= ts("Recent works") %>
<% end %>
<% for work in works %>
<%= render 'works/work_blurb', :work => work %>
<% end %>
<% if works.total_entries > ArchiveConfig.NUMBER_OF_ITEMS_VISIBLE_IN_DASHBOARD %>
- <%= link_to ts("Works (%{count})", :count => works.total_entries), collection_works_path(@collection) %>
<% end %>