cirandas.net

ref: master

app/views/profile/content_tagged.html.erb


<% escaped_tag = CGI.escapeHTML(@tag) %>

<% add_rss_feed_to_head(_("%s's contents tagged with \"%s\"") % [profile.name, escaped_tag], tag_feed_path) %>

<%= _('Content tagged with "%s"') % escaped_tag %>

<%= link_to image_tag('/images/icons-mime/rss-feed.png', :alt => _('Feed for this tag'), :title => _('Feed for this tag')), tag_feed_path, :class => 'blog-feed-link'%>

<% cache_timeout(@tag_cache_key, 4.hour) do %>
    <% for doc in @tagged %>
  • <%= link_to doc.title, doc.url %>
  • <% end %>
<%= pagination_links @tagged, :param_name => 'npage' %>
<%= link_to (_('See content tagged with "%s" in the entire site') % escaped_tag).html_safe, :controller => 'search', :action => 'tag', :tag => @tag %>
<% end %>