From 11ea3b4d47a732fe1c6abc39ce452f899f70859f Mon Sep 17 00:00:00 2001 From: r Date: Mon, 5 Feb 2024 13:08:23 +0000 Subject: Add inline follow/unfollow buttons on follow list page --- templates/userlistfollow.tmpl | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 templates/userlistfollow.tmpl (limited to 'templates/userlistfollow.tmpl') diff --git a/templates/userlistfollow.tmpl b/templates/userlistfollow.tmpl new file mode 100644 index 0000000..298142f --- /dev/null +++ b/templates/userlistfollow.tmpl @@ -0,0 +1,30 @@ +{{with .Data}} +{{if .}} + +{{range .}} + + + + +{{end}} +
{{template "userlistitem.tmpl" (WithContext . $.Ctx)}} + {{if (ne $.Ctx.UserID .ID)}} + {{if .Pleroma.Relationship.Following}} +
+ + + +
+ {{else}} +
+ + + +
+ {{end}} + {{end}} +
+{{else}} +

No data found

+{{end}} +{{end}} -- cgit v1.2.3