docbrown/app/views/articles/_comments_actions.html.erb
Ben Halpern 440714d98b
Add sticky sidebar to article show page (#243)
* Add sidebar sticky elements

* Add sticky sidebar to article show page

* Add saved changes check to user

* Fix missing CSS variable in sticky nav file

* Add date joined as default summary

* Remove accidentally-included file

* Add check for published on article sidebar
2018-04-25 17:55:27 -04:00

10 lines
355 B
Text

<div>
<% if @comments_to_show_count && @article.comments_count > @comments_to_show_count %>
<a class="full-discussion-button"
href="<%= @article.path %>/comments"
>
VIEW FULL DISCUSSION (<%= @article.comments_count %> COMMENTS)
</a>
<% end %>
<%= render "articles/conduct_and_abuse_actions", page:"articles_show" %>
</div>