Revision view: do not display links for deleted files.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1574 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
c107fee54e
commit
b14aa23c8c
|
@ -47,7 +47,11 @@
|
|||
<% @changes.each do |change| %>
|
||||
<tr class="<%= cycle 'odd', 'even' %>">
|
||||
<td><div class="square action_<%= change.action %>"></div>
|
||||
<%= link_to change.path, :action => 'entry', :id => @project, :path => change.relative_path, :rev => @changeset.revision %>
|
||||
<% if change.action == "D" -%>
|
||||
<%= change.path -%>
|
||||
<% else -%>
|
||||
<%= link_to change.path, :action => 'entry', :id => @project, :path => change.relative_path, :rev => @changeset.revision -%>
|
||||
<% end -%>
|
||||
<%= "(#{change.revision})" unless change.revision.blank? %></td>
|
||||
<td align="right">
|
||||
<% if change.action == "M" %>
|
||||
|
|
Loading…
Reference in New Issue