<% title = l(:label_paste_plural) %> <% html_title title %> <% content_for :header_tags do %> <% end %>

<%=h title %>

<% if @pastes.empty? %>

<%= l(:label_no_data) %>

<% else %> <% @pastes.each do |paste| %>
<%= link_to_paste paste %> – <% unless @project %> <%= link_to_project paste.project %> – <% end %> <%= pastebin_language_name(paste.lang) %>
<%=h paste.short_text %>
<%= render :partial => "authorship", :locals => { :paste => paste } %>
<%= manage_paste_links(paste) %>
<% end %>

<%= pagination_links_full @pastes_pages, @pastes_count %>

<% end %> <% other_formats_links do |f| %> <%= f.link_to 'Atom', :url => { :project_id => @project, :key => User.current.rss_key } %> <% end %> <%= render "sidebar" if @project %>