mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 01:56:01 -05:00
PERF: unbind some stuff to speed up topic list
This commit is contained in:
parent
d4224a64e8
commit
30a814b105
1 changed files with 6 additions and 6 deletions
|
@ -3,21 +3,21 @@
|
|||
{{input type="checkbox" checked=checked}}
|
||||
</td>
|
||||
{{else}}
|
||||
{{#if canStar}}
|
||||
{{#unboundIf canStar}}
|
||||
<td class='star'>
|
||||
<a {{bind-attr class=":star :fa :fa-star starred:starred"}} {{action "toggleStar"}} href='#' {{bind-attr title="starTooltip"}}></a>
|
||||
</td>
|
||||
{{/if}}
|
||||
{{/unboundIf}}
|
||||
{{/if}}
|
||||
|
||||
<td class='main-link clearfix' {{bind-attr colspan="titleColSpan"}}>
|
||||
{{topic-status topic=this.model}}
|
||||
{{topic-link this}}
|
||||
{{#if showTopicPostBadges}}
|
||||
{{#unboundIf showTopicPostBadges}}
|
||||
{{topic-post-badges unread=unread newPosts=displayNewPosts unseen=unseen url=lastUnreadUrl}}
|
||||
{{/if}}
|
||||
{{/unboundIf}}
|
||||
|
||||
{{#if hasExcerpt}}
|
||||
{{#unboundIf hasExcerpt}}
|
||||
<div class="topic-excerpt">
|
||||
{{{excerpt}}}
|
||||
{{#if excerptTruncated}}
|
||||
|
@ -27,7 +27,7 @@
|
|||
<a href="#" {{action "clearPin" this}} title="{{i18n topic.clear_pin.help}}">{{i18n topic.clear_pin.title}}</a>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/unboundIf}}
|
||||
</td>
|
||||
|
||||
{{#unless hideCategory}}
|
||||
|
|
Loading…
Reference in a new issue