Fix linting issues in app/views/organizations (#1895)
This commit is contained in:
parent
710751e3b0
commit
957da7ccb6
3 changed files with 10 additions and 11 deletions
|
|
@ -1,7 +1,7 @@
|
|||
<div id="organization-article-index"></div>
|
||||
<% @stories.each_with_index do |story, i| %>
|
||||
<% if !user_signed_in? && i == 4 %>
|
||||
<%= render 'stories/sign_in_invitation' %>
|
||||
<%= render "stories/sign_in_invitation" %>
|
||||
<% end %>
|
||||
<%= render "articles/single_story", story: story %>
|
||||
<% end %>
|
||||
|
|
|
|||
|
|
@ -7,11 +7,11 @@
|
|||
<header><h4>meet the team</h4></header>
|
||||
<div class="widget-body">
|
||||
<% @organization.users.each do |user| %>
|
||||
<div class="widget-user-pic">
|
||||
<a href="/<%= user.username %>">
|
||||
<img src="<%= ProfileImage.new(user).get(90) %>" />
|
||||
</a>
|
||||
</div>
|
||||
<div class="widget-user-pic">
|
||||
<a href="/<%= user.username %>">
|
||||
<img src="<%= ProfileImage.new(user).get(90) %>" />
|
||||
</a>
|
||||
</div>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -5,11 +5,10 @@
|
|||
<% 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 %>"
|
||||
>
|
||||
data-params="<%= params.to_json(only: %i[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">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue