Mercurial > hg > soundsoftware-site
diff .svn/pristine/ff/ff62b4bdd41363f9cdc9bf0c3cbe24d3f90f2713.svn-base @ 909:cbb26bc654de redmine-1.3
Update to Redmine 1.3-stable branch (Redmine SVN rev 8964)
author | Chris Cannam |
---|---|
date | Fri, 24 Feb 2012 19:09:32 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.svn/pristine/ff/ff62b4bdd41363f9cdc9bf0c3cbe24d3f90f2713.svn-base Fri Feb 24 19:09:32 2012 +0000 @@ -0,0 +1,18 @@ +<div class="autoscroll"> +<table class="filecontent syntaxhl"> +<tbody> +<% line_num = 1 %> +<% syntax_highlight(filename, Redmine::CodesetUtil.to_utf8_by_setting(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>