summaryrefslogtreecommitdiffstats
path: root/app/views/wiki/_sidebar.html.erb
blob: 7208376dceeedb4e7f5893a3c7d9a30566b2146e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<% if @wiki && @wiki.sidebar -%>
  <%= textilizable @wiki.sidebar.content, :text %>
<% 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>