annotate .svn/pristine/8f/8fdff2fea815e65bfcdb8ed501cd30a4424623ff.svn-base @ 1298:4f746d8966dd redmine_2.3_integration

Merge from redmine-2.3 branch to create new branch redmine-2.3-integration
author Chris Cannam
date Fri, 14 Jun 2013 09:28:30 +0100
parents 622f24f53b42
children
rev   line source
Chris@1295 1 <div class="autoscroll">
Chris@1295 2 <table class="filecontent syntaxhl">
Chris@1295 3 <tbody>
Chris@1295 4 <% line_num = 1 %>
Chris@1295 5 <% syntax_highlight_lines(filename, Redmine::CodesetUtil.to_utf8_by_setting(content)).each do |line| %>
Chris@1295 6 <tr>
Chris@1295 7 <th class="line-num" id="L<%= line_num %>">
Chris@1295 8 <a href="#L<%= line_num %>"><%= line_num %></a>
Chris@1295 9 </th>
Chris@1295 10 <td class="line-code">
Chris@1295 11 <pre><%= line.html_safe %></pre>
Chris@1295 12 </td>
Chris@1295 13 </tr>
Chris@1295 14 <% line_num += 1 %>
Chris@1295 15 <% end %>
Chris@1295 16 </tbody>
Chris@1295 17 </table>
Chris@1295 18 </div>