{{#unless skipHeader}}
  <thead>
    {{raw "topic-list-header" currentUser=currentUser
                              canBulkSelect=canBulkSelect
                              toggleInTitle=toggleInTitle
                              hideCategory=hideCategory
                              showPosters=showPosters
                              showLikes=showLikes
                              showOpLikes=showOpLikes
                              showParticipants=showParticipants
                              order=order
                              ascending=ascending
                              sortable=sortable
                              bulkSelectEnabled=bulkSelectEnabled}}
  </thead>
{{/unless}}
<tbody>
  {{#each topics as |topic|}}
    {{topic-list-item topic=topic
                      bulkSelectEnabled=bulkSelectEnabled
                      showTopicPostBadges=showTopicPostBadges
                      hideCategory=hideCategory
                      showPosters=showPosters
                      showParticipants=showParticipants
                      showLikes=showLikes
                      showOpLikes=showOpLikes
                      expandGloballyPinned=expandGloballyPinned
                      expandAllPinned=expandAllPinned
                      lastVisitedTopic=lastVisitedTopic
                      selected=selected}}

    {{#if topic.isLastVisited}}
      <tr class='topic-list-item-separator'>
        <td colspan="6">
          <span>
            {{i18n 'topics.new_messages_marker'}}
          </span>
        </td>
      </tr>
    {{/if}}
  {{/each}}
</tbody>
