diff --git a/app/views/repositories/revision.rhtml b/app/views/repositories/revision.rhtml index 8d994ef7f..527ae6dcd 100644 --- a/app/views/repositories/revision.rhtml +++ b/app/views/repositories/revision.rhtml @@ -47,7 +47,11 @@ <% @changes.each do |change| %>
-<%= 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? %> <% if change.action == "M" %>