From 9cf54a1189f1dfa16abc0ae705463b12dc799e64 Mon Sep 17 00:00:00 2001 From: Apoorva Dhawan <31508100+Apoorva-13@users.noreply.github.com> Date: Thu, 15 Feb 2018 22:57:49 +0530 Subject: [PATCH] Tool Tips : regular edit pencil-Edit this wiki page , Delete -Delete this wiki page ,etherpad -practice in a real time doc , revisions-View previous versions (#2212) * Update _header.html.erb added 1 .Tool tip for regular edit pencil 2 .Tool tip for delete wiki page 3.Tool tip for revisions * Update _header.html.erb * Update _header.html.erb * Update _header.html.erb * adding "delete this wiki page" tooltip --- app/views/wiki/_header.html.erb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app/views/wiki/_header.html.erb b/app/views/wiki/_header.html.erb index 08806e0aad..a9b08af4c1 100644 --- a/app/views/wiki/_header.html.erb +++ b/app/views/wiki/_header.html.erb @@ -56,7 +56,7 @@ <% else %>
  • - + @@ -69,23 +69,24 @@ <% end %> <% if current_user && current_user.role == "admin" %> -
  • +
  • <%= link_to url_for(action: :delete,id: @node.id),method: :delete, data: {confirm: I18n.t('wiki.show.are_you_sure_delete', path: @node.path)} do %> + <% end %>
  • <% end %>
  • - +
  • - +