From 802ebbcdbe0fbd657f4271b95af5deee189aedd6 Mon Sep 17 00:00:00 2001 From: saurabhbhatia Date: Wed, 20 Nov 2013 12:26:20 +0800 Subject: [PATCH] Hide Delete and Edit from frontend --- .../app/views/panel/calendar_new/back_end/events/show.html.erb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vendor/built_in_modules/calendar_new/app/views/panel/calendar_new/back_end/events/show.html.erb b/vendor/built_in_modules/calendar_new/app/views/panel/calendar_new/back_end/events/show.html.erb index caa94717e..93cc245ef 100644 --- a/vendor/built_in_modules/calendar_new/app/views/panel/calendar_new/back_end/events/show.html.erb +++ b/vendor/built_in_modules/calendar_new/app/views/panel/calendar_new/back_end/events/show.html.erb @@ -12,7 +12,9 @@ <% end %> +<%if user_signed_in? && is_manager?%> +<% end %>