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