##// END OF EJS Templates
Removes test code introduced in r15994....
Jean-Philippe Lang -
r15648:62d45de8349f
parent child
Show More
@@ -1,13 +1,11
1 <div class="contextual">
1 <div class="contextual">
2 <% if @editable && @content.current_version? %>
2 <% if User.current.allowed_to?(:edit_wiki_pages, @project) %>
3 <%= link_to_if_authorized(l(:button_edit), {:action => 'edit', :id => @page.title}, :class => 'icon icon-edit', :accesskey => accesskey(:edit)) %>
3 <%= link_to l(:label_wiki_page_new), new_project_wiki_page_path(@project), :remote => true, :class => 'icon icon-add' %>
4 <% end %>
4 <% end %>
5 <%= watcher_link(@page, User.current) %>
6 <span class="drdn">
7 <span class="drdn-trigger">Hello</span>
8 <div class="drdn-content drdn-items">
9 <% if @editable %>
5 <% if @editable %>
10 <% if @content.current_version? %>
6 <% if @content.current_version? %>
7 <%= link_to_if_authorized(l(:button_edit), {:action => 'edit', :id => @page.title}, :class => 'icon icon-edit', :accesskey => accesskey(:edit)) %>
8 <%= watcher_link(@page, User.current) %>
11 <%= link_to_if_authorized(l(:button_lock), {:action => 'protect', :id => @page.title, :protected => 1}, :method => :post, :class => 'icon icon-lock') if !@page.protected? %>
9 <%= link_to_if_authorized(l(:button_lock), {:action => 'protect', :id => @page.title, :protected => 1}, :method => :post, :class => 'icon icon-lock') if !@page.protected? %>
12 <%= link_to_if_authorized(l(:button_unlock), {:action => 'protect', :id => @page.title, :protected => 0}, :method => :post, :class => 'icon icon-unlock') if @page.protected? %>
10 <%= link_to_if_authorized(l(:button_unlock), {:action => 'protect', :id => @page.title, :protected => 0}, :method => :post, :class => 'icon icon-unlock') if @page.protected? %>
13 <%= link_to_if_authorized(l(:button_rename), {:action => 'rename', :id => @page.title}, :class => 'icon icon-move') %>
11 <%= link_to_if_authorized(l(:button_rename), {:action => 'rename', :id => @page.title}, :class => 'icon icon-move') %>
@@ -17,11 +15,6
17 <% end %>
15 <% end %>
18 <% end %>
16 <% end %>
19 <%= link_to_if_authorized(l(:label_history), {:action => 'history', :id => @page.title}, :class => 'icon icon-history') %>
17 <%= link_to_if_authorized(l(:label_history), {:action => 'history', :id => @page.title}, :class => 'icon icon-history') %>
20 <% if User.current.allowed_to?(:edit_wiki_pages, @project) %>
21 <%= link_to l(:label_wiki_page_new), new_project_wiki_page_path(@project), :remote => true, :class => 'icon icon-add' %>
22 <% end %>
23 </div>
24 </span>
25 </div>
18 </div>
26
19
27 <%= wiki_page_breadcrumb(@page) %>
20 <%= wiki_page_breadcrumb(@page) %>
General Comments 0
You need to be logged in to leave comments. Login now