##// END OF EJS Templates
[#20288] Update the CodeRay Ruby syntax highlight example....
[#20288] Update the CodeRay Ruby syntax highlight example. This commit changes the following: * Remove line numbering from syntax highlight example. * Add span with 'CodeRay' class around the syntax highlight example. * Fix span classes in the syntax highlight example: ** Ruby scanner changed from ':reserved' to ':keyword' with CodeRay 1.0.0. * Remove obsolete line numbering styles. * Fix internal stylesheet to match CodeRay 1.1.0 (preserving r10132's changes). * Sort internal styles and remove superfluous newlines between styles. Contributed by Mischa The Evil. git-svn-id: http://svn.redmine.org/redmine/trunk@14492 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r11104:8b205052a964
r14110:763d5dddde2c
Show More
index.html.erb
35 lines | 1.1 KiB | text/plain | TextLexer
<div class="contextual">
<%= watcher_link(@wiki, User.current) %>
</div>
<h2><%= l(:label_index_by_title) %></h2>
<% if @pages.empty? %>
<p class="nodata"><%= l(:label_no_data) %></p>
<% end %>
<%= render_page_hierarchy(@pages_by_parent_id, nil, :timestamp => true) %>
<% content_for :sidebar do %>
<%= render :partial => 'sidebar' %>
<% end %>
<% unless @pages.empty? %>
<% other_formats_links do |f| %>
<%= f.link_to 'Atom',
:url => {:controller => 'activities', :action => 'index',
:id => @project, :show_wiki_edits => 1,
:key => User.current.rss_key} %>
<% if User.current.allowed_to?(:export_wiki_pages, @project) %>
<%= f.link_to('PDF', :url => {:action => 'export', :format => 'pdf'}) %>
<%= f.link_to('HTML', :url => {:action => 'export'}) %>
<% end %>
<% end %>
<% end %>
<% content_for :header_tags do %>
<%= auto_discovery_link_tag(
:atom, :controller => 'activities', :action => 'index',
:id => @project, :show_wiki_edits => 1, :format => 'atom',
:key => User.current.rss_key) %>
<% end %>