##// END OF EJS Templates
Display the link name when external links are used in the toc macro. #5445...
Display the link name when external links are used in the toc macro. #5445 Contributed by Yuki Kita and Jean-Baptiste Barth git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3786 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r3471:ad487bf7cc4b
r3672:b53de502ab60
Show More
_file.rhtml
11 lines | 369 B | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
Move the file viewer to a partial....
r1505 <div class="autoscroll">
Jean-Philippe Lang
Replace the hardcoded "CodeRay" css class name for highlighted elements....
r3471 <table class="filecontent syntaxhl">
Jean-Philippe Lang
Move the file viewer to a partial....
r1505 <tbody>
<% line_num = 1 %>
<% syntax_highlight(filename, to_utf8(content)).each_line do |line| %>
Jean-Philippe Lang
Clickable/linkable line #'s while browsing the repo or viewing a text file (#2835)....
r2463 <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>
Jean-Philippe Lang
Move the file viewer to a partial....
r1505 <% line_num += 1 %>
<% end %>
</tbody>
</table>
</div>