{{#if bulkSelectEnabled}}
  <td class='star'>
    {{input type="checkbox" checked=checked}}
  </td>
{{else}}
  {{#if canStar}}
    <td class='star'>
      <a {{bind-attr class=":star :fa :fa-star starred:starred"}} {{action toggleStar}} href='#' {{bind-attr title="starTooltip"}}></a>
    </td>
  {{/if}}
{{/if}}

<td class='main-link clearfix' {{bind-attr colspan="titleColSpan"}}>
  {{topicStatus topic=this}}
  {{{topicLink this}}}
  {{#if unread}}
    <a href="{{lastUnreadUrl}}" class='badge unread badge-notification' title='{{i18n topic.unread_posts count="unread"}}'>{{unread}}</a>
  {{/if}}
  {{#if displayNewPosts}}
    <a href="{{lastUnreadUrl}}" class='badge new-posts badge-notification' title='{{i18n topic.new_posts count="displayNewPosts"}}'>{{displayNewPosts}}</a>
  {{/if}}
  {{#if unseen}}
    <a href="{{lastUnreadUrl}}" class='badge new-posts badge-notification' title='{{i18n topic.new}}'><i class='fa fa-asterisk'></i></a>
  {{/if}}

  {{#if hasExcerpt}}
    <div class="topic-excerpt">
      {{{excerpt}}}
      {{#if excerptTruncated}}
        {{#unless canClearPin}}<a href="{{url}}">{{i18n read_more}}</a>{{/unless}}
      {{/if}}
      {{#if canClearPin}}
        <a href="#" {{action clearPin this}} title="{{i18n topic.clear_pin.help}}">{{i18n topic.clear_pin.title}}</a>
      {{/if}}
    </div>
  {{/if}}
</td>

{{#unless hideCategory}}
<td class='category'>{{boundCategoryLink category}}</td>
{{/unless}}

<td class='posters'>
  {{#each posters}}
    <a href="{{user.path}}" class="{{extras}}">{{avatar this usernamePath="user.username" imageSize="small"}}</a>
  {{/each}}
</td>

<td class='num posts'><a href="{{lastUnreadUrl}}" class='badge-posts'>{{number posts_count numberKey="posts_long"}}</a></td>

<td class='num likes'>
  {{#if like_count}}
    <a href='{{url}}{{#if has_summary}}?filter=summary{{/if}}' title='{{i18n topic.likes count="like_count"}}'>{{number like_count numberKey="likes_long"}} <i class='fa fa-heart'></i></a>
  {{/if}}
</td>

<td {{bind-attr class=":num :views viewsHeat"}}>{{number views numberKey="views_long"}}</td>

{{#if bumped}}
  <td class='num activity'>
    <a href="{{url}}" {{{bind-attr class=":age ageCold"}}} title='{{i18n first_post}}: {{{rawDate created_at}}}' >{{unboundAge created_at}}</a>
  </td>
  <td class='num activity last'>
    <a href="{{lastPostUrl}}" class='age' title='{{i18n last_post}}: {{{rawDate bumped_at}}}'>{{unboundAge bumped_at}}</a>
  </td>
{{else}}
  <td class='num activity'>
    <a href="{{url}}" {{{bind-attr class=":age ageCold"}}} title='{{i18n first_post}}: {{{rawDate created_at}}}'>{{unboundAge created_at}}</a>
  </td>
  <td class='activity'></td>
{{/if}}
