diff options
author | r <r@freesoftwareextremist.com> | 2020-09-27 09:50:04 +0000 |
---|---|---|
committer | r <r@freesoftwareextremist.com> | 2020-09-27 09:50:04 +0000 |
commit | 59692b715578cf02b8f01eda4692858ad922670e (patch) | |
tree | 243088fcb87e7cd988b752af66d72bb87945045c /templates | |
parent | 0df863ac4031e26e3cb64779618e0733d9686fc0 (diff) | |
download | bloat-59692b715578cf02b8f01eda4692858ad922670e.tar.gz bloat-59692b715578cf02b8f01eda4692858ad922670e.zip |
Add blocks list
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"> |