From f044a99f40baadf96ce9e334a42476ce8db71996 Mon Sep 17 00:00:00 2001 From: Jeffrey Warren Date: Thu, 9 May 2019 18:33:44 -0400 Subject: [PATCH] tweaks to comment options (#5700) --- app/views/notes/_comment.html.erb | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/app/views/notes/_comment.html.erb b/app/views/notes/_comment.html.erb index fde5743fc9..c53418eae8 100644 --- a/app/views/notes/_comment.html.erb +++ b/app/views/notes/_comment.html.erb @@ -49,17 +49,14 @@ --> <% end %> + <% if comment.comment_via == 1 %> + + <% end %> <% if current_user && comment.uid == current_user.uid %> <% end %> - <% if comment.comment_via == 1 %> - - <% end %> - <% if params[:controller] == "questions" && logged_in_as(['admin', 'moderator']) || (current_user && (comment.uid == current_user.uid)) %> - - <% end %> <% if current_user &. can_moderate? %>