{if $__wcf->user->userID && $user->userID != $__wcf->user->userID}
{if !$__wcf->getUserProfileHandler()->isIgnoredByUser($user->userID)}
{if $__wcf->getUserProfileHandler()->isFollowing($user->userID)}
- <li class="jsOnly"><a href="#" data-following="1" data-object-id="{@$user->userID}" class="jsFollowButton jsTooltip" title="{lang}wcf.user.button.unfollow{/lang}">{icon name='minus'} <span class="invisible">{lang}wcf.user.button.unfollow{/lang}</span></a></li>
+ <li class="jsOnly"><a href="#" data-following="1" data-object-id="{@$user->userID}" class="jsFollowButton jsTooltip" title="{lang}wcf.user.button.unfollow{/lang}">{icon name='circle-minus'} <span class="invisible">{lang}wcf.user.button.unfollow{/lang}</span></a></li>
{else}
- <li class="jsOnly"><a href="#" data-following="0" data-object-id="{@$user->userID}" class="jsFollowButton jsTooltip" title="{lang}wcf.user.button.follow{/lang}">{icon name='plus'} <span class="invisible">{lang}wcf.user.button.follow{/lang}</span></a></li>
+ <li class="jsOnly"><a href="#" data-following="0" data-object-id="{@$user->userID}" class="jsFollowButton jsTooltip" title="{lang}wcf.user.button.follow{/lang}">{icon name='circle-plus'} <span class="invisible">{lang}wcf.user.button.follow{/lang}</span></a></li>
{/if}
{/if}
{/if}
// toogle icon title
if (data.returnValues.following) {
button.attr('data-tooltip', WCF.Language.get('wcf.user.button.unfollow'));
- button[0].querySelector("fa-icon").setIcon("minus");
+ button[0].querySelector("fa-icon").setIcon("circle-minus");
button.children('.invisible').text(WCF.Language.get('wcf.user.button.unfollow'));
}
else {
button.attr('data-tooltip', WCF.Language.get('wcf.user.button.follow'));
- button[0].querySelector("fa-icon").setIcon("plus");
+ button[0].querySelector("fa-icon").setIcon("circle-plus");
button.children('.invisible').text(WCF.Language.get('wcf.user.button.follow'));
}