Makes the wiki sidebar editable (#5208).

The content of the wiki page named 'Sidebar' is rendered in the sidebar if it exists. Permission to edit protected pages is required to create this page.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3632 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2010-04-11 12:56:18 +00:00
parent 3979224693
commit 5879273739
8 changed files with 61 additions and 1 deletions
+4
View File
@@ -1,3 +1,7 @@
<% if @wiki && @wiki.sidebar -%>
<%= textilizable @wiki.sidebar.content, :text %>
<% end -%>
<h3><%= l(:label_wiki) %></h3>
<%= link_to l(:field_start_page), {:action => 'index', :page => nil} %><br />