##// END OF EJS Templates
Add a css class to hide content when printing. #5508...
Add a css class to hide content when printing. #5508 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3787 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r3471:ad487bf7cc4b
r3673:b10818f4a1c1
Show More
_file.rhtml
11 lines | 369 B | text/html+ruby | RhtmlLexer
<div class="autoscroll">
<table class="filecontent syntaxhl">
<tbody>
<% line_num = 1 %>
<% syntax_highlight(filename, to_utf8(content)).each_line do |line| %>
<tr><th class="line-num" id="L<%= line_num %>"><a href="#L<%= line_num %>"><%= line_num %></a></th><td class="line-code"><pre><%= line %></pre></td></tr>
<% line_num += 1 %>
<% end %>
</tbody>
</table>
</div>