diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/user.tmpl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/user.tmpl b/templates/user.tmpl index f34a9df..4323b2f 100644 --- a/templates/user.tmpl +++ b/templates/user.tmpl @@ -110,7 +110,9 @@ - <a href="/user/{{.User.ID}}/likes">likes</a> - <a href="/user/{{.User.ID}}/mutes">mutes</a> - <a href="/user/{{.User.ID}}/blocks">blocks</a> - {{if .User.Locked}}- <a href="/user/{{.User.ID}}/requests">requests</a>{{end}} + {{if .User.Locked}}- <a href="/user/{{.User.ID}}/requests">requests ( + {{- if .User.FollowRequestsCount}}{{.User.FollowRequestsCount}}{{else}}{{.User.Source.FollowRequestsCount}}{{end -}} + )</a>{{end}} </div> {{end}} <div> |