From b73141a1537c5f58ccc6397aea1a9b7ac948d64b Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 12 Sep 2008 17:17:25 +0000 Subject: [PATCH] Adds links to changesets atom feed on repository browser (#1873). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1802 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/repositories/revisions.rhtml | 5 +++++ app/views/repositories/show.rhtml | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/app/views/repositories/revisions.rhtml b/app/views/repositories/revisions.rhtml index ac5919dd6..8da7d582d 100644 --- a/app/views/repositories/revisions.rhtml +++ b/app/views/repositories/revisions.rhtml @@ -16,4 +16,9 @@ <%= auto_discovery_link_tag(:atom, params.merge({:format => 'atom', :page => nil, :key => User.current.rss_key})) %> <% end %> +

+<%= l(:label_export_to) %> +<%= link_to 'Atom', {:format => 'atom', :key => User.current.rss_key}, :class => 'feed' %> +

+ <% html_title(l(:label_revision_plural)) -%> diff --git a/app/views/repositories/show.rhtml b/app/views/repositories/show.rhtml index 9a73183e8..9dc38a832 100644 --- a/app/views/repositories/show.rhtml +++ b/app/views/repositories/show.rhtml @@ -21,6 +21,10 @@ <% content_for :header_tags do %> <%= auto_discovery_link_tag(:atom, params.merge({:format => 'atom', :action => 'revisions', :id => @project, :page => nil, :key => User.current.rss_key})) %> <% end %> +

+<%= l(:label_export_to) %> +<%= link_to 'Atom', {:action => 'revisions', :id => @project, :format => 'atom', :key => User.current.rss_key}, :class => 'feed' %> +

<% end %> <% content_for :header_tags do %> -- 2.39.5