Revision 1298:4f746d8966dd app/views/wiki
| app/views/wiki/date_index.html.erb | ||
|---|---|---|
| 1 | 1 |
<div class="contextual"> |
| 2 |
<%= watcher_tag(@wiki, User.current) %>
|
|
| 2 |
<%= watcher_link(@wiki, User.current) %>
|
|
| 3 | 3 |
</div> |
| 4 | 4 |
|
| 5 | 5 |
<h2><%= l(:label_index_by_date) %></h2> |
| app/views/wiki/index.html.erb | ||
|---|---|---|
| 1 | 1 |
<div class="contextual"> |
| 2 |
<%= watcher_tag(@wiki, User.current) %>
|
|
| 2 |
<%= watcher_link(@wiki, User.current) %>
|
|
| 3 | 3 |
</div> |
| 4 | 4 |
|
| 5 | 5 |
<h2><%= l(:label_index_by_title) %></h2> |
| app/views/wiki/show.html.erb | ||
|---|---|---|
| 2 | 2 |
<% if @editable %> |
| 3 | 3 |
<% if @content.current_version? %> |
| 4 | 4 |
<%= link_to_if_authorized(l(:button_edit), {:action => 'edit', :id => @page.title}, :class => 'icon icon-edit', :accesskey => accesskey(:edit)) %>
|
| 5 |
<%= watcher_tag(@page, User.current) %>
|
|
| 5 |
<%= watcher_link(@page, User.current) %>
|
|
| 6 | 6 |
<%= link_to_if_authorized(l(:button_lock), {:action => 'protect', :id => @page.title, :protected => 1}, :method => :post, :class => 'icon icon-lock') if !@page.protected? %>
|
| 7 | 7 |
<%= link_to_if_authorized(l(:button_unlock), {:action => 'protect', :id => @page.title, :protected => 0}, :method => :post, :class => 'icon icon-unlock') if @page.protected? %>
|
| 8 | 8 |
<%= link_to_if_authorized(l(:button_rename), {:action => 'rename', :id => @page.title}, :class => 'icon icon-move') %>
|
Also available in: Unified diff