Skip to content

Commit 2e9b37e

Browse files
authored
Changed _like.html.erb (#10089)
1 parent a94e2a8 commit 2e9b37e

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

app/views/like/_like.html.erb

+7-5
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,13 @@
4949
<% end %>
5050

5151
<span data-toggle="tooltip" data-placement="top" title="Tools" id="menu-btn" class="btn btn-outline-secondary btn-circle btn-sm" rel="popover" data-placement="left" data-html="true" style="overflow: auto; max-height: 500px" data-content="
52-
<p><b>Users who liked this</b></p>
53-
<% node.likers.each do |user| %>
54-
<i class='fa fa-star-o'></i> <a href='/profile/<%= user.username %>/'><%= user.username %></a><br />
55-
<% end %>
56-
<% if node.likers.size == 0 %><i>None</i><% end %>
52+
<div class='mb-3'>
53+
<p><b>Users who liked this</b></p>
54+
<% node.likers.each do |user| %>
55+
<i class='fa fa-star-o'></i> <a href='/profile/<%= user.username %>/'><%= user.username %></a><br />
56+
<% end %>
57+
<% if node.likers.size == 0 %><i>None</i><% end %>
58+
</div>
5759
<% if node.type == 'note' && current_user && node.uid != current_user.uid%>
5860
<hr style='margin-bottom:3px;' />
5961
<p><b>Award a Barnstar:</b></p>

0 commit comments

Comments
 (0)