{{#conditional-loading-spinner condition=loading}}
  {{#if hasIncoming}}
    <div class="show-mores">
      <a tabindex="0" href {{action showInserted}} class="alert alert-info clickable">
        {{count-i18n key="topic_count_" suffix="latest" count=2}}
      </a>
    </div>
  {{/if}}

  {{#if topics}}
    {{topic-list
      showPosters=showPosters
      hideMobileAvatar=hideMobileAvatar
      hideCategory=hideCategory
      topics=topics
      expandExcerpts=expandExcerpts
      bulkSelectEnabled=bulkSelectEnabled
      canBulkSelect=canBulkSelect
      selected=selected
      tagsForUser=tagsForUser
      onScroll=onScroll
      scrollOnLoad=scrollOnLoad
    }}
  {{else}}
    {{#unless loadingMore}}
      <div class="alert alert-info">
        {{i18n "choose_topic.none_found"}}
      </div>
    {{/unless}}
  {{/if}}
{{/conditional-loading-spinner}}
