şunun yansıması
https://github.com/redmine/redmine.git
eşitlendi 2024-08-08 14:11:04 +02:00
93d1b2e0a4
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1267 e93f8b46-1217-0410-a6f0-8f06a7374b81
18 satır
528 B
Plaintext
18 satır
528 B
Plaintext
<h2><%= render :partial => 'navigation', :locals => { :path => @path, :kind => 'file', :revision => @rev } %></h2>
|
|
|
|
<div class="autoscroll">
|
|
<table class="filecontent CodeRay">
|
|
<tbody>
|
|
<% line_num = 1 %>
|
|
<% syntax_highlight(@path, to_utf8(@content)).each_line do |line| %>
|
|
<tr><th class="line-num" id="L<%= line_num %>"><%= line_num %></th><td class="line-code"><pre><%= line %></pre></td></tr>
|
|
<% line_num += 1 %>
|
|
<% end %>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<% content_for :header_tags do %>
|
|
<%= stylesheet_link_tag "scm" %>
|
|
<% end %>
|