diff --git a/templates/followers.html b/templates/followers.html index 85a1a54..ebe743c 100755 --- a/templates/followers.html +++ b/templates/followers.html @@ -1,11 +1,15 @@ {{/*### Handler=/followers TitleBar=Followers -MinPrivileges=3 +MinPrivileges=7 KyutGrill=friends.jpg */}} {{ define "tpl" }}
+
{{ .T "On this page you can see all of your followers, and add new friends if you see fit." }} @@ -14,7 +18,6 @@ {{ $ := . }} {{ $page := or (atoint (.Gin.Query "p")) 1 }} {{ $followers := .Get "mitsuha/followers_friends?p=%d&l=40&sort=username,asc" $page }} - {{ with $followers }}
{{ range .subs }} diff --git a/templates/friends.html b/templates/friends.html index 43b101b..8fbff4e 100755 --- a/templates/friends.html +++ b/templates/friends.html @@ -5,7 +5,14 @@ KyutGrill=friends.jpg */}} {{ define "tpl" }} +{{ $isSupporter := has .Context.User.Privileges 4 }}
+ {{ if $isSupporter }} + + {{ end }}
{{ .T "On this page you can see all of your friends, and unfriend them as you see fit." }}