Sha256: 717c0968bdf26db60734e5544d4236abb43fa2d03301e405cea67d01f6a82f2f

Contents?: true

Size: 1.54 KB

Versions: 5

Compression:

Stored size: 1.54 KB

Contents

<h3><%= _("Syndicate")%></h3>
<ul>
  <% if @sidebar.articles -%>
    <li><a href="<%= url_for :controller => 'articles', :action => 'index', :format => @sidebar.format_strip %>" title="Articles feed"><%= _("Articles")%></a></li>
  <% end %>
  <% if @sidebar.comments -%>
  <li><a href="<%= admin_comments_url(:format=>@sidebar.format_strip) %>" title="Comments feed" test="<%= @sidebar.format_strip%>"><%= _("Comments")%></a></li>
  <% end %>
  <% if @sidebar.trackbacks -%>
  <li><a href="<%= url_for :controller=>'xml', :action=>'feed', :format => @sidebar.format_strip, :type => 'trackbacks' %>" title="Trackbacks feed"><%= _("Trackbacks")%></a></li>
  <% end %>
  <% if @sidebar.category_feeds and controller.controller_name == 'categories' and controller.action_name == 'show' %>
    <% format = (@sidebar.format_strip == 'rss') ? @auto_discovery_url_rss : @auto_discovery_url_atom  %>
    <%= content_tag(:li, _("Category %s",  link_to(@grouping.display_name, format))) %>
  <% end %>
  <% if @sidebar.tag_feeds and controller.controller_name == 'tags' and controller.action_name == 'show' %>
    <% format = (@sidebar.format_strip == 'rss') ? @auto_discovery_url_rss : @auto_discovery_url_atom  %>
    <%= content_tag(:li, _("Tag %s",  link_to(@grouping.display_name, format))) %>
  <% end %>  
  <% if @sidebar.article_comments and controller.controller_name == 'redirect' %>
    <% format = (@sidebar.format_strip == 'rss') ? @auto_discovery_url_rss : @auto_discovery_url_atom  %>
    <%= content_tag(:li, link_to(@article.title, format)) %>
  <% end %>
  
  
</ul>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
typo-5.4.4 vendor/plugins/xml_sidebar/views/content.rhtml
typo-5.4.3 vendor/plugins/xml_sidebar/views/content.rhtml
typo-5.4.2 vendor/plugins/xml_sidebar/views/content.rhtml
typo-5.4.1 vendor/plugins/xml_sidebar/views/content.rhtml
typo-5.4 vendor/plugins/xml_sidebar/views/content.rhtml