
  {{#if Discourse.currentUser.id}}
    <td class='star'>
      <a {{bindAttr class=":star :icon-star starred:starred"}} {{action toggleStar this target="controller"}} href='#' {{bindAttr title="favoriteTooltip"}}></a>
    </td>
  {{/if}}

  <td class='main-link clearfix'>

    {{#if controller.rankDetailsVisible}}
      <div class='rank-details'>
        <p>{{rank_details.hot_topic_type}}</p>
        <p>
          ({{float rank_details.random_bias}} * {{float rank_details.random_multiplier}}) + ({{float rank_details.days_ago_bias}} * {{float rank_details.days_ago_multiplier}}) = <b>{{float rank_details.ranking_score}}</b>
          <i class='icon icon-beaker score' {{action showRankDetails this}} title='{{i18n rank_details.show}}'></i>
        </p>
      </div>
    {{/if}}

    {{view Discourse.TopicStatusView topicBinding="this"}}
    {{{topicLink this showTagIfPresent="controller.category"}}}
    {{#if unread}}
      <a href="{{lastReadUrl}}" class='badge unread badge-notification' title='{{i18n topic.unread_posts unread="unread"}}'>{{unread}}</a>
    {{/if}}
    {{#if displayNewPosts}}
      <a href="{{lastReadUrl}}" class='badge new-posts badge-notification' title='{{i18n topic.new_posts new_posts="displayNewPosts"}}'>{{displayNewPosts}}</a>
    {{/if}}
    {{#if unseen}}
      <a href="{{lastReadUrl}}" class='badge new-posts badge-notification' title='{{i18n topic.new}}'><i class='icon icon-asterisk'></i></a>
    {{/if}}

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

  <td class='category'>
    {{categoryLink category}}
  </td>

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

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

  <td class='num'>
    {{#if like_count}}
      <a href='{{url}}{{#if has_best_of}}/best_of{{/if}}' title='{{i18n topic.likes count="like_count"}}'>{{like_count}} <i class='icon-heart'></i></a>
    {{/if}}
  </td>

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

  {{#if bumped}}
    <td class='num activity'>
      <a href="{{url}}" {{{bindAttr class=":age ageCold"}}} title='{{i18n first_post}}: {{{unboundDate created_at}}}' >{{{age}}}</a>
    </td>
    <td class='num activity last'>
      <a href="{{lastPostUrl}}" class='age' title='{{i18n last_post}}: {{{unboundDate bumped_at}}}'>{{{bumped_age}}}</a>
    </td>
  {{else}}
    <td class='num activity'>
      <a href="{{url}}" class='age' title='{{i18n first_post}}: {{{unboundDate created_at}}}'>{{{age}}}</a>
    </td>
    <td></td>
  {{/if}}
