OSDN Git Service

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 7737bf4..a699938 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 %>