diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/user.tmpl | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/user.tmpl b/templates/user.tmpl index ce91091..d260848 100644 --- a/templates/user.tmpl +++ b/templates/user.tmpl @@ -100,7 +100,8 @@ {{if .IsCurrent}} <div> <a href="/user/{{.User.ID}}/bookmarks"> bookmarks </a> - - <a href="/user/{{.User.ID}}/mutes"> mutes </a> + <a href="/user/{{.User.ID}}/mutes"> mutes </a> - + <a href="/user/{{.User.ID}}/blocks"> blocks </a> </div> {{end}} <div> @@ -148,6 +149,10 @@ {{else if eq .Type "mutes"}} <div class="page-title"> Mutes </div> {{template "userlist.tmpl" (WithContext .Users $.Ctx)}} + +{{else if eq .Type "blocks"}} +<div class="page-title"> Blocks </div> +{{template "userlist.tmpl" (WithContext .Users $.Ctx)}} {{end}} <div class="pagination"> |