summaryrefslogtreecommitdiffstats
path: root/app/views/wiki/_sidebar.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/wiki/_sidebar.html.erb')
-rw-r--r--app/views/wiki/_sidebar.html.erb9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/wiki/_sidebar.html.erb b/app/views/wiki/_sidebar.html.erb
new file mode 100644
index 000000000..9a24963f2
--- /dev/null
+++ b/app/views/wiki/_sidebar.html.erb
@@ -0,0 +1,9 @@
+<% if @wiki && @wiki.sidebar -%>
+ <%= textilizable @wiki.sidebar.content, :text %>
+<% end -%>
+
+<h3><%= l(:label_wiki) %></h3>
+
+<%= link_to l(:field_start_page), {:action => 'show', :id => nil} %><br />
+<%= link_to l(:label_index_by_title), {:action => 'index'} %><br />
+<%= link_to l(:label_index_by_date), {:action => 'date_index'} %><br />