mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 14:32:46 +08:00
TRIVIAL: removes unecessary #if bindings
This commit is contained in:
parent
e148d2340f
commit
9b43333f3f
|
@ -54,7 +54,7 @@
|
|||
{{else}}
|
||||
<td class='num likes'>
|
||||
{{#if topic.like_count}}
|
||||
<a href='{{unbound topic.url}}{{#if topic.has_summary}}{{/if}}'>{{number topic.like_count}} <i class='fa fa-heart'></i></a>
|
||||
<a href='{{unbound topic.url}}'>{{number topic.like_count}} <i class='fa fa-heart'></i></a>
|
||||
{{/if}}
|
||||
</td>
|
||||
{{/if}}
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
|
||||
<td class='num likes'>
|
||||
{{#if like_count}}
|
||||
<a href='{{url}}{{#if has_summary}}{{/if}}' title='{{i18n topic.likes count="like_count"}}'>{{number like_count numberKey="likes_long"}} <i class='fa fa-heart'></i></a>
|
||||
<a href='{{url}}' title='{{i18n topic.likes count="like_count"}}'>{{number like_count numberKey="likes_long"}} <i class='fa fa-heart'></i></a>
|
||||
{{/if}}
|
||||
</td>
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
</div>
|
||||
{{#if like_count}}
|
||||
<div class='num likes'>
|
||||
<a href='{{url}}{{#if has_summary}}{{/if}}' title='{{i18n topic.likes count="like_count"}}'>
|
||||
<a href='{{url}}' title='{{i18n topic.likes count="like_count"}}'>
|
||||
<i class='fa fa-heart'></i> {{number like_count numberKey="likes_long"}}
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
<div class='num posts'><a href="{{lastUnreadUrl}}">{{number posts_count numberKey="posts_long"}}</a></div>
|
||||
|
||||
{{#if like_count}}
|
||||
<div class='num likes'><a href='{{url}}{{#if has_summary}}{{/if}}' title='{{i18n topic.likes count="like_count"}}'>{{number like_count numberKey="likes_long"}} <i class='fa fa-heart'></i></a></div>
|
||||
<div class='num likes'><a href='{{url}}' title='{{i18n topic.likes count="like_count"}}'>{{number like_count numberKey="likes_long"}} <i class='fa fa-heart'></i></a></div>
|
||||
{{/if}}
|
||||
|
||||
{{#if bumped}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user