From 5b074ffac76ba1b7410ff00a85bc442fd7396a20 Mon Sep 17 00:00:00 2001 From: Wieland Lindenthal Date: Mon, 23 Apr 2018 11:18:08 +0200 Subject: [PATCH] commenting out toolbar menu item for editing menu items for wikis --- app/views/wiki/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/wiki/show.html.erb b/app/views/wiki/show.html.erb index 014bb67ca7..ed0505d645 100644 --- a/app/views/wiki/show.html.erb +++ b/app/views/wiki/show.html.erb @@ -90,7 +90,7 @@ See docs/COPYRIGHT.rdoc for more details. <%= li_unless_nil(link_to_if_authorized(l(:button_rollback), {action: 'edit', id: @page, version: @content.version }, class: 'icon-context icon-cancel')) if @content.version < @page.content.version %> <% end %> <%= li_unless_nil(link_to_if_authorized(l(:label_history), {action: 'history', id: @page}, class: 'icon-context icon-wiki')) %> - <%= li_unless_nil(link_to_if_authorized(l(:button_manage_menu_entry), {controller: '/wiki_menu_items', action: 'edit', project_id: @project.identifier, id: @page}, class: 'icon-context icon-settings')) %> + <%# li_unless_nil(link_to_if_authorized(l(:button_manage_menu_entry), {controller: '/wiki_menu_items', action: 'edit', project_id: @project.identifier, id: @page}, class: 'icon-context icon-settings')) %> <%= li_unless_nil(link_to_if_authorized(l(:label_table_of_contents), {controller: '/wiki', action: 'index', project_id: @project.identifier, id: @page}, class: 'icon-context icon-view-list')) %>