summaryrefslogtreecommitdiffstats
path: root/app/views/common/_diff.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/common/_diff.html.erb')
-rw-r--r--app/views/common/_diff.html.erb6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/common/_diff.html.erb b/app/views/common/_diff.html.erb
index 0d30bedd2..35dfdea28 100644
--- a/app/views/common/_diff.html.erb
+++ b/app/views/common/_diff.html.erb
@@ -10,6 +10,9 @@
<thead>
<tr>
<th colspan="4" class="filename">
+ <% if table_file.previous_file_name %>
+ <span class="previous-filename"><%= table_file.previous_file_name %> →</span>
+ <% end %>
<%= table_file.file_name %>
</th>
</tr>
@@ -40,6 +43,9 @@
<thead>
<tr>
<th colspan="3" class="filename">
+ <% if table_file.previous_file_name %>
+ <span class="previous-filename"><%= table_file.previous_file_name %> →</span>
+ <% end %>
<%= table_file.file_name %>
</th>
</tr>