Index: app/views/repositories/annotate.rhtml =================================================================== --- app/views/repositories/annotate.rhtml (revision 2521) +++ app/views/repositories/annotate.rhtml (working copy) @@ -11,7 +11,7 @@ <% syntax_highlight(@path, to_utf8(@annotate.content)).each_line do |line| %> <% revision = @annotate.revisions[line_num-1] %> - <%= line_num %> + <%= line_num %> <%= (revision.identifier ? link_to(format_revision(revision.identifier), :action => 'revision', :id => @project, :rev => revision.identifier) : format_revision(revision.revision)) if revision %> <%= h(revision.author.to_s.split('<').first) if revision %> Index: app/views/common/_file.rhtml =================================================================== --- app/views/common/_file.rhtml (revision 2521) +++ app/views/common/_file.rhtml (working copy) @@ -3,7 +3,7 @@ <% line_num = 1 %> <% syntax_highlight(filename, to_utf8(content)).each_line do |line| %> -<%= line_num %>
<%= line %>
+<%= line_num %>
<%= line %>
<% line_num += 1 %> <% end %> Index: public/stylesheets/scm.css =================================================================== --- public/stylesheets/scm.css (revision 2521) +++ public/stylesheets/scm.css (working copy) @@ -40,6 +40,10 @@ padding-right: 3px; color: #999; } +table.filecontent th.line-num a { + text-decoration: none; + color: inherit; +} table.filecontent td.line-code pre { white-space: pre-wrap; /* CSS2.1 compliant */ white-space: -moz-pre-wrap; /* Mozilla-based browsers */