Skip to content

Commit

Permalink
Update _like.html.erb
Browse files Browse the repository at this point in the history
  • Loading branch information
jywarren authored Sep 15, 2020
1 parent d22fb96 commit bd81b6f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions app/views/like/_like.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,11 @@
<br>
<% end %>
<p><a class='btn btn-sm btn-outline-secondary' rel='tooltip' title='Try the beta inline Rich Wiki editor.' data-placement='top' href='<%= node.path %>?raw=true'>
<i style='color:#0c8;' class='fa fa-pencil'></i>
</a></p>
<% if node.type == "page" %>
<p><a class='btn btn-sm btn-outline-secondary' rel='tooltip' title='Try the beta inline Rich Wiki editor.' data-placement='top' href='<%= node.path %>?raw=true'>
<i style='color:#0c8;' class='fa fa-pencil'></i>
</a></p>
<% end %>
<% if logged_in_as(['admin', 'moderator']) || (current_user && current_user.uid == node.uid) %>
Expand Down

0 comments on commit bd81b6f

Please sign in to comment.