fix reshare button when already reshared
This commit is contained in:
parent
0de0d8855c
commit
a354745283
1 changed files with 8 additions and 6 deletions
|
|
@ -21,13 +21,15 @@
|
|||
</a>
|
||||
|
||||
{{#if userCanReshare}}
|
||||
<a href="#" rel="auth-required" class="reshare" title="{{#if userReshare}} {{t "viewer.reshared"}} {{else}} {{t "viewer.reshare"}} {{/if}}">
|
||||
{{#if userReshare}}
|
||||
<i class="entypo retweet blue large"></i>
|
||||
{{else}}
|
||||
<i class="entypo retweet gray large"></i>
|
||||
{{/if}}
|
||||
<a href="#" rel="auth-required" class="reshare" title="{{t "viewer.reshare"}}">
|
||||
<i class="entypo retweet gray large"></i>
|
||||
</a>
|
||||
{{else}}
|
||||
{{#if userReshare}}
|
||||
<a href="#" rel="auth-required" class="reshare-viewonly" title="{{t "viewer.reshared"}}">
|
||||
<i class="entypo retweet blue large"></i>
|
||||
</a>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue