diff options
| author | 2024-04-02 11:42:24 +0200 | |
|---|---|---|
| committer | 2024-04-02 10:42:24 +0100 | |
| commit | f05874be3095d3fb3cefd1a92b3c35fe3ae3bf28 (patch) | |
| tree | 52f1616259b51d0a8a94a786278b9c0aa5ab2298 /web/template | |
| parent | [feature] Add `enable` command to mirror existing `disable` command; update d... (diff) | |
| download | gotosocial-f05874be3095d3fb3cefd1a92b3c35fe3ae3bf28.tar.xz | |
[feature] Option to hide followers/following (#2788)
Diffstat (limited to 'web/template')
| -rw-r--r-- | web/template/profile.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/template/profile.tmpl b/web/template/profile.tmpl index b6ef056f0..f0467e004 100644 --- a/web/template/profile.tmpl +++ b/web/template/profile.tmpl @@ -98,9 +98,9 @@ <dt>Posts</dt> <dd>{{- .account.StatusesCount -}}</dd> <dt>Followed by</dt> - <dd>{{- .account.FollowersCount -}}</dd> + <dd>{{- if .account.HideCollections -}}<i>hidden</i>{{- else -}}{{- .account.FollowersCount -}}{{- end -}}</dd> <dt>Following</dt> - <dd>{{- .account.FollowingCount -}}</dd> + <dd>{{- if .account.HideCollections -}}<i>hidden</i>{{- else -}}{{- .account.FollowingCount -}}{{- end -}}</dd> </dl> </section> <div class="statuses-wrapper" role="region" aria-label="Posts by {{ .account.Username -}}"> |
