Fix erblint errors on the app/views/stories folder (#8404)

This commit is contained in:
Alberto Pérez de Rada Fiol 2020-06-12 11:21:07 +02:00 committed by GitHub
parent c356983de8
commit 326e98a944
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
<div class="narrow-nav-menu" id="narrow-nav-menu" aria-label="feed-nav-menu">
<a href="<%= list_path %>/" class="<%= "selected" if ["week", "month", "year", "infinity", "latest"].exclude?(params[:timeframe]) %>">&lt;MY <%= community_name %> FEED&gt;</a>
<a href="<%= list_path %>/" class="<%= "selected" if %w[week month year infinity latest].exclude?(params[:timeframe]) %>">&lt;MY <%= community_name %> FEED&gt;</a>
<a href="<%= list_path %>/top/week" class="<%= "selected" if timeframe_check("week") %>">&lt;PAST WEEK&gt;</a>
<a href="<%= list_path %>/top/month" class="<%= "selected" if timeframe_check("month") %>">&lt;PAST MONTH&gt;</a>
<a href="<%= list_path %>/top/year" class="<%= "selected" if timeframe_check("year") %>">&lt;PAST YEAR&gt;</a>

View file

@ -1,6 +1,6 @@
<div class="single-article single-article-small-pic feed-cta" id="in-feed-cta">
<div class="cta-container" id="cta-content">
<img class="primary-sticker-image" src="<%= cloudinary(SiteConfig.primary_sticker_image_url, 190) %>"
<img class="primary-sticker-image" src="<%= cloudinary(SiteConfig.primary_sticker_image_url, 190) %>"
alt="Primary <%= community_qualified_name %> logo" />
<h2>