Split out latest-topic-list-contents component

This commit is contained in:
Robin Ward 2017-08-13 13:19:27 -04:00
parent 8ccde140e5
commit 0c2d20a523
2 changed files with 4 additions and 3 deletions

View File

@ -0,0 +1,3 @@
{{#each topics as |t|}}
{{latest-topic-list-item topic=t}}
{{/each}}

View File

@ -3,9 +3,7 @@
</div>
{{#if topics}}
{{#each topics as |t|}}
{{latest-topic-list-item topic=t}}
{{/each}}
{{latest-topic-list-contents topics=topics tagName=""}}
<div class="more-topics">
<a href="/latest" class="btn pull-right">{{i18n "more"}}</a>
</div>