removes summary filter when clicking on the likes count in topic lists

This commit is contained in:
Régis Hanol 2014-07-02 22:58:07 +02:00
parent 334becd0ed
commit e148d2340f
4 changed files with 4 additions and 4 deletions

View File

@ -54,7 +54,7 @@
{{else}}
<td class='num likes'>
{{#if topic.like_count}}
<a href='{{unbound topic.url}}{{#if topic.has_summary}}?filter=summary{{/if}}'>{{number topic.like_count}} <i class='fa fa-heart'></i></a>
<a href='{{unbound topic.url}}{{#if topic.has_summary}}{{/if}}'>{{number topic.like_count}} <i class='fa fa-heart'></i></a>
{{/if}}
</td>
{{/if}}

View File

@ -50,7 +50,7 @@
<td class='num likes'>
{{#if like_count}}
<a href='{{url}}{{#if has_summary}}?filter=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}}{{#if has_summary}}{{/if}}' title='{{i18n topic.likes count="like_count"}}'>{{number like_count numberKey="likes_long"}} <i class='fa fa-heart'></i></a>
{{/if}}
</td>

View File

@ -35,7 +35,7 @@
</div>
{{#if like_count}}
<div class='num likes'>
<a href='{{url}}{{#if has_summary}}?filter=summary{{/if}}' title='{{i18n topic.likes count="like_count"}}'>
<a href='{{url}}{{#if has_summary}}{{/if}}' title='{{i18n topic.likes count="like_count"}}'>
<i class='fa fa-heart'></i> {{number like_count numberKey="likes_long"}}
</a>
</div>

View File

@ -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}}?filter=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}}{{#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>
{{/if}}
{{#if bumped}}