diff --git a/app/views/repositories/diff.rhtml b/app/views/repositories/diff.rhtml
index febac8a..776d920 100644
--- a/app/views/repositories/diff.rhtml
+++ b/app/views/repositories/diff.rhtml
@@ -1,19 +1,25 @@
<%= render :partial => 'navigation', :locals => { :path => @path, :kind => 'file', :revision => @rev } %>
-
-@<%= @rev %> | @<%= @rev_to %> | |
-
<% parsing = false
line_num_l = 0
line_num_r = 0 %>
<% @diff.each do |line| %>
<%
- if line =~ /^@@ (\+|\-)(\d+)(,\d+)? (\+|\-)(\d+)(,\d+)? @@/
+ if line =~ /^Index: (.*)$/
+ if parsing %>
+
+ <%
+ end
+ parsing = false %>
+
+ <%= l(:label_attachment) %>: <%= $1 %> |
+ @<%= @rev %> | @<%= @rev_to %> | |
+
+ <%
+ next
+ elsif line =~ /^@@ (\+|\-)(\d+)(,\d+)? (\+|\-)(\d+)(,\d+)? @@/
line_num_l = $2.to_i
line_num_r = $5.to_i
- if parsing %>
- |
- <% end
parsing = true
next
end
@@ -54,4 +60,4 @@ line_num_r = 0 %>
<% content_for :header_tags do %>
<%= stylesheet_link_tag "scm" %>
-<% end %>
\ No newline at end of file
+<% end %>
diff --git a/public/stylesheets/scm.css b/public/stylesheets/scm.css
index c2b477e..122343c 100644
--- a/public/stylesheets/scm.css
+++ b/public/stylesheets/scm.css
@@ -19,4 +19,10 @@ tr.spacing {
.line-code {
font-family: "Courier New", monospace;
font-size: 1em;
-}
\ No newline at end of file
+}
+
+table.list thead th.list-filename {
+ background-color: #ddc;
+ font-weight: bolder;
+ text-align: left;
+}