summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-07-18 09:59:55 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-07-18 09:59:55 +0000
commit5ec4d4cdab31509ff7afa5a9415850885885a6c4 (patch)
treef71d22ec5832bbb2ea529035a680a78d25c54f1e
parentbf0ddc2886f4c0b9629a36686f168051615564a9 (diff)
downloadredmine-5ec4d4cdab31509ff7afa5a9415850885885a6c4.tar.gz
redmine-5ec4d4cdab31509ff7afa5a9415850885885a6c4.zip
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
-rw-r--r--app/views/repositories/_link_to_functions.rhtml1
1 files changed, 1 insertions, 0 deletions
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 @@
<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 %>