From: Jean-Philippe Lang Date: Sat, 18 Jul 2009 09:59:55 +0000 (+0000) Subject: Adds a link to the file history on repository file views. X-Git-Tag: 0.9.0~398 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5ec4d4cdab31509ff7afa5a9415850885885a6c4;p=redmine.git Adds a link to the file history on repository file views. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2823 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/repositories/_link_to_functions.rhtml b/app/views/repositories/_link_to_functions.rhtml index 7737bf484..a699938de 100644 --- a/app/views/repositories/_link_to_functions.rhtml +++ b/app/views/repositories/_link_to_functions.rhtml @@ -1,4 +1,5 @@

+<%= 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 %>