Skip to content

Commit

Permalink
simple ui for renamed files
Browse files Browse the repository at this point in the history
  • Loading branch information
bkad committed Oct 6, 2011
1 parent fcbc4c4 commit c996e0b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion views/_diff.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<a name="<%= file[:file_name_before] %>"></a>
<div class="file" filename="<%= file[:file_name_before] %>" >
<div class="filename"><a href="#<%= file[:file_name_before] %>"><%= file[:file_name_before] %></a></div>
<div class="filename"><a href="#<%= file[:file_name_before] %>"><%= file[:renamed] ? "#{file[:file_name_before]} => #{file[:file_name_after]}" :
file[:file_name_before] %></a></div>
<div class="comments">
<% line_comments, comment_index = [], 0 %>
<% if commit_file = commit ? commit.commit_files_dataset[:filename => file[:file_name_before]] : nil %>
Expand Down

0 comments on commit c996e0b

Please sign in to comment.