{{#if view.topics}}
  <table id="topic-list">
    <tr>
      <th>
        {{i18n topic.title}}
      </th>
      {{#unless controller.hideCategories}}
        <th>{{i18n category_title}}</th>
      {{/unless}}
      <th class='num posts'>{{i18n posts}}</th>
      <th class='num likes'>{{i18n likes}}</th>
      <th class='num views'>{{i18n views}}</th>
      <th class='num activity' colspan='2'>{{i18n activity}}</th>
    </tr>

    {{#groupedEach view.topics}}
      <tr>
        <td class='main-link'>
          <a class='title' href="{{unbound lastUnreadUrl}}">{{{unbound fancy_title}}}</a>
          {{#if unread}}
            <a href="{{unbound lastUnreadUrl}}" class='badge unread badge-notification' title='{{i18n topic.unread_posts count="unread"}}'>{{unbound unread}}</a>
          {{/if}}
          {{#if new_posts}}
            <a href="{{unbound lastUnreadUrl}}" class='badge new-posts badge-notification' title='{{i18n topic.new_posts count="new_posts"}}'>{{unbound new_posts}}</a>
          {{/if}}
          {{#if unseen}}
            <a href="{{unbound lastUnreadUrl}}" class='badge new-posts badge-notification' title='{{i18n topic.new}}'><i class='icon icon-asterisk'></i></a>
          {{/if}}
        </td>
        {{#unless controller.hideCategories}}
          <td class='category'>
            {{categoryLink category}}
          </td>
        {{/unless}}
        <td class='num posts'><a href="{{unbound lastUnreadUrl}}" class='badge-posts'>{{number posts_count numberKey="posts_long"}}</a></td>

        <td class='num likes'>
          {{#if like_count}}
            <a href='{{unbound url}}{{#if has_best_of}}?filter=best_of{{/if}}'>{{unbound like_count}} <i class='icon-heart'></i></a>
          {{/if}}
        </td>

        <td {{bindAttr class=":num :views viewsHeat"}}>{{number views numberKey="views_long"}}</td>
        {{#if bumped}}
          <td class='num activity'>
            <a href="{{unbound url}}" {{{bindAttr class=":age ageCold"}}} title='{{i18n first_post}}: {{{unboundDate created_at}}}' >{{unboundAge created_at}}</a>
          </td>
          <td class='num activity last'>
            <a href="{{unbound lastPosterUrl}}" class='age' title='{{i18n last_post}}: {{{unboundDate bumped_at}}}'>{{unboundAge bumped_at}}</a>
          </td>
        {{else}}
          <td class='num activity'>
            <a href="{{unbound url}}" class='age' title='{{i18n first_post}}: {{{unboundDate created_at}}}'>{{unboundAge created_at}}</a>
          </td>
          <td class="activity"></td>
        {{/if}}
      </tr>
    {{/groupedEach}}

  </table>
{{else}}
  <div class='alert alert-info'>
  {{i18n choose_topic.none_found}}
  </div>
{{/if}}
