Add classes to td's in suggested topics

This commit is contained in:
Neil Lalonde 2013-07-02 17:03:08 -04:00
parent 05fe33111e
commit 0270ee0d98
2 changed files with 7 additions and 7 deletions

View file

@ -15,15 +15,15 @@
<td class='category'>
{{categoryLink category}}
</td>
<td class='num'><a href="{{lastReadUrl}}" class='badge-posts'>{{number posts_count numberKey="posts_long"}}</a></td>
<td class='num posts'><a href="{{lastReadUrl}}" class='badge-posts'>{{number posts_count numberKey="posts_long"}}</a></td>
<td class='num'>
<td class='num likes'>
{{#if like_count}}
<a href='{{url}}{{#if has_best_of}}?filter=best_of{{/if}}'>{{like_count}} <i class='icon-heart'></i></a>
{{/if}}
</td>
<td {{bindAttr class=":num viewsHeat"}}>{{number views numberKey="views_long"}}</td>
<td {{bindAttr class=":num :views viewsHeat"}}>{{number views numberKey="views_long"}}</td>
{{#if bumped}}
<td class='num activity'>
@ -36,7 +36,7 @@
<td class='num activity'>
<a href="{{url}}" class='age' title='{{i18n first_post}}: {{{unboundDate created_at}}}'>{{unboundAge created_at}}</a>
</td>
<td></td>
<td class="activity"></td>
{{/if}}
{{/group}}

View file

@ -84,9 +84,9 @@
{{i18n topic.title}}
</th>
<th>{{i18n category_title}}</th>
<th class='num'>{{i18n posts}}</th>
<th class='num'>{{i18n likes}}</th>
<th class='num'>{{i18n views}}</th>
<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>