Mercurial > hg > soundsoftware-site
comparison .svn/pristine/ad/adf31b2936fe356e09b9ab737cd473578efad2f1.svn-base @ 1464:261b3d9a4903 redmine-2.4
Update to Redmine 2.4 branch rev 12663
author | Chris Cannam |
---|---|
date | Tue, 14 Jan 2014 14:37:42 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1296:038ba2d95de8 | 1464:261b3d9a4903 |
---|---|
1 <div class="autoscroll"> | |
2 <table class="filecontent syntaxhl"> | |
3 <tbody> | |
4 <% line_num = 1 %> | |
5 <% syntax_highlight_lines(filename, Redmine::CodesetUtil.to_utf8_by_setting(content)).each do |line| %> | |
6 <tr id="L<%= line_num %>"> | |
7 <th class="line-num"> | |
8 <a href="#L<%= line_num %>"><%= line_num %></a> | |
9 </th> | |
10 <td class="line-code"> | |
11 <pre><%= line.html_safe %></pre> | |
12 </td> | |
13 </tr> | |
14 <% line_num += 1 %> | |
15 <% end %> | |
16 </tbody> | |
17 </table> | |
18 </div> |