app/views/wiki/feeds.rhtml in instiki-0.9.2 vs app/views/wiki/feeds.rhtml in instiki-0.10.0

- old
+ new

@@ -1,10 +1,14 @@ -<% @title = "Feeds" %><%= sub_template "top" %> - -<p>You can subscribe to this wiki by RSS and get either just the headlines of the pages that change or the entire page.</p> - -<ul id="feedsList"> - <li><a href="../rss_with_content<%= "?password=#{web.password}" if web.password %>">Full content (RSS 2.0)</a> - <li><a href="../rss_with_headlines<%= "?password=#{web.password}" if web.password %>">Headlines (RSS 2.0)</a> -</ul> - -<%= sub_template "bottom" %> +<% @title = "Feeds" %> + +<p>You can subscribe to this wiki by RSS and get either just the headlines of the pages that change or the entire page.</p> + +<ul id="feedsList"> + <li> + <% if @rss_with_content_allowed %> + <%= link_to 'Full content (RSS 2.0)', :web => @web.address, :action => :rss_with_content %> + <% end %> + </li> + <li> + <%= link_to 'Headlines (RSS 2.0)', :web => @web.address, :action => :rss_with_headlines %> + </li> +</ul>