nodebb-theme-harmony 2.0.0-pre.43 → 2.0.0-pre.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
<div class="flex-shrink-0 d-flex gap-1 align-self-stretch align-self-md-start justify-content-end">
|
|
60
60
|
{{{ if loggedIn }}}
|
|
61
61
|
{{{ if !isSelf }}}
|
|
62
|
-
<a component="account/unfollow" href="#" class="btn btn-
|
|
63
|
-
<a component="account/follow" href="#" class="btn btn-primary flex-fill{{{ if isFollowing }}} hide{{{ end }}}">[[user:follow]]</a>
|
|
62
|
+
<a component="account/unfollow" href="#" class="btn btn-outline-warning flex-fill{{{ if (!isFollowing && !isFollowPending) }}} hide{{{ end }}}">[[user:{{{ if isFollowPending }}}cancel-follow{{{ else }}}unfollow{{{ end }}}]]</a>
|
|
63
|
+
<a component="account/follow" href="#" class="btn btn-primary flex-fill{{{ if (isFollowing || isFollowPending) }}} hide{{{ end }}}">[[user:follow]]</a>
|
|
64
64
|
{{{ end }}}
|
|
65
65
|
{{{ end }}}
|
|
66
66
|
|