diff --git a/app/views/notes/_comment.html.erb b/app/views/notes/_comment.html.erb
index 826ec23477..e480ea57ec 100644
--- a/app/views/notes/_comment.html.erb
+++ b/app/views/notes/_comment.html.erb
@@ -23,26 +23,6 @@
<% end %>
-
<% if comment.author && comment.author.user && comment.author.user.role %>
<% end %>
-
- <% if comment.comment_via == 1 %>
-
- <% end %>
+
+ <% if !current_user %>
+ -
+ <%= link_to new_user_session_path( return_to: request.path ), style: "text-decoration: none; color: black;" do %>
+
+ <%= comment.likers.count %>
+ <% end %>
+ <% else %>
+ <% str = "/comment/like?comment_id=#{comment.cid}&user_id=#{current_user.uid}" %>
+
-
+ <%= link_to str, data: { method: "post", remote: true }, style: "text-decoration: none; color: black;" do %>
+
+
+ <% end %>
+ <% end %>
+
+
<% if current_user && comment.uid == current_user.uid %>
<% end %>
+ <% if comment.comment_via == 1 %>
+
+ <% end %>
+
<% if current_user && (current_user.role == "admin" || current_user.role == "moderator" || comment.uid == current_user.uid || comment.parent.uid == current_user.uid) %>