Ben/womens day (#53)
* Remove stale docs files and add signup CTA on show page * Fix user follow button on search page * Finalize shecoded/theycoded images * Modify sidebar logic * Move help widget below shecoded
This commit is contained in:
parent
b91afbf2c2
commit
bb0a3df612
1 changed files with 19 additions and 19 deletions
|
|
@ -85,25 +85,6 @@
|
|||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
<% if Article.active_help.any? %>
|
||||
<div class="widget">
|
||||
<header>
|
||||
<#HELP>
|
||||
</header>
|
||||
<div class="widget-body">
|
||||
<div class="widget-link-list">
|
||||
<% Article.active_help.limit(8).pluck(:path,:title,:comments_count, :created_at).each do |plucked_article| %>
|
||||
<div class="widget-link-list__item">
|
||||
<a href="<%= plucked_article[0] %>">
|
||||
<%= plucked_article[1] %> <span class="discuss-list-comment-count <%= "discuss-list-comment-count-brand-new" if plucked_article[2] == 0 %>"><%= plucked_article[2] == 0 ? "fresh" : plucked_article[2] %></span>
|
||||
</a>
|
||||
</div>
|
||||
<% end %>
|
||||
</div>
|
||||
<p><center><a class="cta cta-button" href="/new/help">ASK FOR HELP</a></center></p>
|
||||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
<% if Flipflop.she_coded? %>
|
||||
<div class="widget">
|
||||
<header>
|
||||
|
|
@ -125,6 +106,25 @@
|
|||
<p><center><a class="cta cta-button" href="/new/shecoded" style="color: white; background: #8a62b4;">SUBMIT YOUR STORY</a></center></p>
|
||||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
<% if Article.active_help.any? %>
|
||||
<div class="widget">
|
||||
<header>
|
||||
<#HELP>
|
||||
</header>
|
||||
<div class="widget-body">
|
||||
<div class="widget-link-list">
|
||||
<% Article.active_help.limit(8).pluck(:path,:title,:comments_count, :created_at).each do |plucked_article| %>
|
||||
<div class="widget-link-list__item">
|
||||
<a href="<%= plucked_article[0] %>">
|
||||
<%= plucked_article[1] %> <span class="discuss-list-comment-count <%= "discuss-list-comment-count-brand-new" if plucked_article[2] == 0 %>"><%= plucked_article[2] == 0 ? "fresh" : plucked_article[2] %></span>
|
||||
</a>
|
||||
</div>
|
||||
<% end %>
|
||||
</div>
|
||||
<p><center><a class="cta cta-button" href="/new/help">ASK FOR HELP</a></center></p>
|
||||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
<div class="widget">
|
||||
<header>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue