summaryrefslogtreecommitdiffstats
path: root/app/views/wiki/show.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/wiki/show.rhtml')
-rw-r--r--app/views/wiki/show.rhtml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/wiki/show.rhtml b/app/views/wiki/show.rhtml
index 033c59160..0ae8c10dc 100644
--- a/app/views/wiki/show.rhtml
+++ b/app/views/wiki/show.rhtml
@@ -1,6 +1,7 @@
<div class="contextual">
<% if @editable %>
<%= link_to_if_authorized(l(:button_edit), {:action => 'edit', :page => @page.title}, :class => 'icon icon-edit', :accesskey => accesskey(:edit)) if @content.version == @page.content.version %>
+<%= watcher_tag(@page, User.current) %>
<%= link_to_if_authorized(l(:button_lock), {:action => 'protect', :page => @page.title, :protected => 1}, :method => :post, :class => 'icon icon-lock') if !@page.protected? %>
<%= link_to_if_authorized(l(:button_unlock), {:action => 'protect', :page => @page.title, :protected => 0}, :method => :post, :class => 'icon icon-unlock') if @page.protected? %>
<%= link_to_if_authorized(l(:button_rename), {:action => 'rename', :page => @page.title}, :class => 'icon icon-move') if @content.version == @page.content.version %>