* Added stories feature specs * Structure feature specs * Spec for the articles by tag page * Spec for clicking "week" button on the tag page * Reorganize stories views * Feature spec for displaying sponsors on tag page * Increase allowed rspec example length * Spec for the users comments view * Articles by tag: reeplace view code with rendering partials
26 lines
No EOL
973 B
Text
26 lines
No EOL
973 B
Text
<%= content_for :page_meta do %>
|
|
<%= render "users/meta" %>
|
|
<% end %>
|
|
<%= render "users/profile_header" %>
|
|
<div class="home sub-home" id="index-container"
|
|
data-params="<%= params.to_json(only: [:tag,:username,:q]) %>" data-which="<%=@list_of%>"
|
|
data-algolia-tag="<%= "organization_#{@organization.id}" %>"
|
|
data-feed="<%= params[:timeframe] || "base-feed"%>"
|
|
data-articles-since="<%= Timeframer.new(params[:timeframe]).datetime.to_i %>"
|
|
>
|
|
<%= render "organizations/sidebar" %>
|
|
<div class="articles-list" id="articles-list">
|
|
<div class="substories" id="substories">
|
|
<% if (@stories && @stories.any?) || (@comments && @comments.any?) %>
|
|
<%= render "stories/main_stories_feed" %>
|
|
<% end %>
|
|
</div>
|
|
<div class="loading-articles" id="loading-articles">
|
|
loading...
|
|
</div>
|
|
</div>
|
|
<%= render "organizations/sidebar_additional" %>
|
|
</div>
|
|
|
|
<%= render "stories/narrow_nav_menu" %>
|
|
<%= render "stories/stories_list_script" %> |