Files
Redmine/hooks/app/views/common/_file.rhtml
Jean-Philippe Lang 7c56968018 Added branch for hooks integration.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1716 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-08-07 10:52:19 +00:00

12 lines
336 B
Plaintext

<div class="autoscroll">
<table class="filecontent CodeRay">
<tbody>
<% line_num = 1 %>
<% syntax_highlight(filename, to_utf8(content)).each_line do |line| %>
<tr><th class="line-num" id="L<%= line_num %>"><%= line_num %></th><td class="line-code"><pre><%= line %></pre></td></tr>
<% line_num += 1 %>
<% end %>
</tbody>
</table>
</div>