Small fixes/adjustments (#6501) [deploy]
This commit is contained in:
parent
afc8594dd9
commit
e19a1a43be
3 changed files with 2 additions and 3 deletions
|
|
@ -68,7 +68,7 @@ class StoriesController < ApplicationController
|
|||
order("hotness_score DESC")
|
||||
|
||||
@campaign_articles_count = campaign_articles_scope.count
|
||||
@latest_campaign_articles = campaign_articles_scope.limit(3).pluck(:path, :title, :comments_count, :created_at)
|
||||
@latest_campaign_articles = campaign_articles_scope.limit(5).pluck(:path, :title, :comments_count, :created_at)
|
||||
end
|
||||
|
||||
def redirect_to_changed_username_profile
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<div class="widget">
|
||||
<% if SiteConfig.campaign_sidebar_image %>
|
||||
<img src="<%= SiteConfig.campaign_sidebar_image %>" class="widget-image" />
|
||||
<img src="<%= SiteConfig.campaign_sidebar_image %>" class="widget-image" style="height:116px;" />
|
||||
<% end %>
|
||||
<header>
|
||||
<h4>
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@
|
|||
<% if @hero_html %>
|
||||
<div id="hero-html-wrapper">
|
||||
<script>
|
||||
console.log(localStorage.getItem('exited_hero'))
|
||||
if (localStorage.getItem('exited_hero') === 'shecoded') {
|
||||
document.getElementById('hero-html-wrapper').style.display = 'none';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue