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
This commit is contained in:
Jean-Philippe Lang 2009-07-18 09:59:55 +00:00
parent bf0ddc2886
commit 5ec4d4cdab
1 changed files with 1 additions and 0 deletions

View File

@ -1,4 +1,5 @@
<p> <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? %> <% if @repository.supports_cat? %>
<%= link_to_if action_name != 'entry', l(:button_view), {:action => 'entry', :id => @project, :path => to_path_param(@path), :rev => @rev } %> | <%= link_to_if action_name != 'entry', l(:button_view), {:action => 'entry', :id => @project, :path => to_path_param(@path), :rev => @rev } %> |
<% end %> <% end %>