diff --git a/templates/user.tmpl b/templates/user.tmpl index 1ae75f9..8f47929 100644 --- a/templates/user.tmpl +++ b/templates/user.tmpl @@ -172,11 +172,45 @@ {{else if eq .Type "mutes"}}

Mutes

-{{template "userlist.tmpl" (WithContext .Users $.Ctx)}} +{{if .Users}} + +{{range .Users}} + + + + +{{end}} +
{{template "userlistitem.tmpl" (WithContext . $.Ctx)}} +
+ + + +
+
+{{else}} +

No data found

+{{end}} {{else if eq .Type "blocks"}}

Blocks

-{{template "userlist.tmpl" (WithContext .Users $.Ctx)}} +{{if .Users}} + +{{range .Users}} + + + + +{{end}} +
{{template "userlistitem.tmpl" (WithContext . $.Ctx)}} +
+ + + +
+
+{{else}} +

No data found

+{{end}} {{else if eq .Type "requests"}}

Follow requests