1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-25 01:41:14 +00:00
redmine/app/views/wiki/_sidebar.html.erb
Jean-Philippe Lang 71ec68cb73 Wiki lists in the sidebar are broken (#21263).
Patch by Daniel Ritz.

git-svn-id: http://svn.redmine.org/redmine/trunk@15134 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-30 15:29:54 +00:00

15 lines
488 B
Plaintext

<% if @wiki && @wiki.sidebar -%>
<div class="wiki">
<%= textilizable @wiki.sidebar.content, :text %>
</div>
<% end -%>
<h3><%= l(:label_wiki) %></h3>
<ul>
<li><%= link_to(l(:field_start_page), {:action => 'show', :id => nil}) %></li>
<li><%= link_to(l(:label_index_by_title), {:action => 'index'}) %></li>
<li><%= link_to(l(:label_index_by_date),
{:controller => 'wiki', :project_id => @project,
:action => 'date_index'}) %></li>
</ul>