<%= link_to uploaded_file.filename, uploaded_file.view_url, :class => 'search-result-title' %>
<%= render :partial => 'image', :object => uploaded_file %>
<%= render :partial => 'article_author', :object => uploaded_file %>
<%= render :partial => 'article_description', :object => uploaded_file %>
<% if uploaded_file.parent and uploaded_file.parent.published? %>
<%= uploaded_file.parent.gallery? ? _("Gallery") : _("Folder") %> |
<%= link_to uploaded_file.parent.name, uploaded_file.parent.url %> |
<% end %>
<%= render :partial => 'article_tags', :object => uploaded_file.tags %>
<%= render :partial => 'article_categories', :object => uploaded_file.categories %>
<%= render :partial => 'article_last_change', :object => uploaded_file %>