1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-24 17:31:14 +00:00
redmine/app/views/wiki/_sidebar.html.erb
Go MAEDA 3d91bff0fb Add hook :view_wiki_show_sidebar_bottom (#7975).
Patch by okkez.


git-svn-id: http://svn.redmine.org/redmine/trunk@18117 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-03 00:23:56 +00:00

17 lines
570 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>
<%= call_hook(:view_wiki_show_sidebar_bottom, :wiki => @wiki, :page => @page) %>