Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Show 'View More' CTA when there are 4 or 5 items in a listing-style collection (bug 1052858) #562

Merged
merged 1 commit into from Aug 13, 2014

Conversation

chuckharmston
Copy link
Contributor

@@ -154,7 +154,7 @@ <h1 class="feed-tile-header">{{ coll.name|translate(coll)|safe }}</h1>
{% endif %}
{% endfor %}
</ul>
{% if not landing and coll.apps.length > feed.MAX_BRAND_APPS %}
{% if not landing and ((coll.app_count > feed.MAX_BRAND_APPS) or ((coll.app_count < feed.MAX_BRAND_APPS) and (coll.app_count > 3))) %}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

comment

@ngokevin
Copy link
Contributor

have to do it for brands too. it uses the same serializer

@ngokevin
Copy link
Contributor

r+wc

chuckharmston added a commit that referenced this pull request Aug 13, 2014
Show 'View More' CTA when there are 4 or 5 items in a listing-style collection (bug 1052858)
@chuckharmston chuckharmston merged commit ebf80e8 into mozilla:feed Aug 13, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants