docbrown/app/views/articles/_widget_list_item.html.erb
Ben Halpern 2771a2e866
Add Algolia to comments, modify button styles, add comments tab to reading list area (#32)
* Add Algolia to search and add Only My Posts filter

* Actually fix Algolia index possible issue

* Fix search issue

* Make minor adjustments to sponsorship sidebar

* Make submission rules headsup html allowed and remove devise trackable

* Remove devise_trackable from application_controller

* Adjust login CTA for /new

* Adjust string in test to reflect changes

* Quick fix for internal navigatioon draft caching issue

* Add ID to internal/articles

* Fix auth with Twitter in two places

* Added comments to algolia and modified design

* Update sidebar styles and make other small adjustments

* Clean up tag styling and other small improvements

* Finalize design adjustments

* Add indexing condition for comments

* Fix Algolia typo

* Fix Algolia indexing on comment
2018-03-04 22:25:08 -05:00

14 lines
No EOL
725 B
Text

<div class="widget-link-list__item">
<a href="<%= plucked_article[0] %>">
<%= plucked_article[1] %>
</a>
<% if show_comment_count %>
<div class="discuss-list-comment-count">
<% if plucked_article[2] > 0 %>
<img src="<%= asset_path("comments-bubble.svg") %>" alt="Comments" /> <%= plucked_article[2] %>
<% else %>
<span class="discuss-list-comment-count discuss-list-comment-count-brand-new">fresh</span>
<% end %>
</div>
<% end %>
</div>