]> source.dussan.org Git - redmine.git/commitdiff
Adds a link to the file history on repository file views.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 18 Jul 2009 09:59:55 +0000 (09:59 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 18 Jul 2009 09:59:55 +0000 (09:59 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2823 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/repositories/_link_to_functions.rhtml

index 7737bf4844d9426071d75cf9ed6a2619cb3787af..a699938def006e2c140643b1fc83264bf730a858 100644 (file)
@@ -1,4 +1,5 @@
 <p>
+<%= link_to_if action_name != 'changes', l(:label_history), {:action => 'changes', :id => @project, :path => to_path_param(@path), :rev => @rev } %> |
 <% if @repository.supports_cat? %>
     <%= link_to_if action_name != 'entry', l(:button_view), {:action => 'entry', :id => @project, :path => to_path_param(@path), :rev => @rev } %> |
 <% end %>