diff .svn/pristine/8f/8fdff2fea815e65bfcdb8ed501cd30a4424623ff.svn-base @ 1295:622f24f53b42 redmine-2.3

Update to Redmine SVN revision 11972 on 2.3-stable branch
author Chris Cannam
date Fri, 14 Jun 2013 09:02:21 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.svn/pristine/8f/8fdff2fea815e65bfcdb8ed501cd30a4424623ff.svn-base	Fri Jun 14 09:02:21 2013 +0100
@@ -0,0 +1,18 @@
+<div class="autoscroll">
+<table class="filecontent syntaxhl">
+<tbody>
+<% line_num = 1 %>
+<% syntax_highlight_lines(filename, Redmine::CodesetUtil.to_utf8_by_setting(content)).each 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.html_safe %></pre>
+    </td>
+  </tr>
+  <% line_num += 1 %>
+<% end %>
+</tbody>
+</table>
+</div>