* Fixed HTML errors in /app/views/additional_content_boxes * Fixed indentation * Fixed linting error in /app/views/comments * Fixed indentation in /app/views/html_variants * Fixed HTML errors + Fixed indentation in /app/views/internal * Fixed HTML errors + Fixed indentation in /app/views/layouts * Fixed indentation in /app/views/mailers * Fixed indentation in /app/views/moderations * Fixed HTML errors + Fixed indentation in /app/views/notifications * Fixed HTML errors in /app/views/pages * Fixed HTML errors + Fixed indentation in /app/views/social_previews * Fixed indentation in /app/views/stories * Fixed indentation in /app/views/stripe_subscriptions * Fixed indentation in /app/views/tags * Fixed indentation in /app/views/users
16 lines
835 B
Text
16 lines
835 B
Text
<% if @boosted_article %>
|
|
<%= render "additional_content_boxes/article_box",
|
|
article: @boosted_article,
|
|
classification: "boosted",
|
|
classification_text: "From one of our Community Sponsors",
|
|
follow_cue: @boosted_article.organization&.tag_line || @boosted_article.organization&.tag_line %>
|
|
<% end %>
|
|
<% if @suggested_articles.any? %>
|
|
<% @suggested_articles.each do |article| %>
|
|
<%= render "additional_content_boxes/article_box",
|
|
article: article,
|
|
classification: "for_user_article",
|
|
classification_text: "Another Post You Might Like",
|
|
follow_cue: article.organization&.tag_line || "Follow <a href='#{article.user.path}'>@#{article.user.username}</a> to see more of their posts in your feed." %>
|
|
<% end %>
|
|
<% end %>
|