mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2025-05-04 10:58:48 +00:00
Add blocks list
This commit is contained in:
parent
0df863ac40
commit
59692b7155
2 changed files with 18 additions and 1 deletions
|
@ -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">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue