cirandas.net

ref: master

app/views/search/_full_uploaded_file.html.erb


  • <%= 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? %> <% end %> <%= render :partial => 'article_tags', :object => uploaded_file.tags %> <%= render :partial => 'article_categories', :object => uploaded_file.categories %>
    <%= uploaded_file.parent.gallery? ? _("Gallery") : _("Folder") %> <%= link_to uploaded_file.parent.name, uploaded_file.parent.url %>
    <%= render :partial => 'article_last_change', :object => uploaded_file %>