From 2b1c703b6ca0b670a11217802d6e4d64ffbf2601 Mon Sep 17 00:00:00 2001 From: r Date: Sun, 27 Sep 2020 10:04:56 +0000 Subject: Add likes list --- templates/user.tmpl | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'templates') diff --git a/templates/user.tmpl b/templates/user.tmpl index d260848..b7a12b9 100644 --- a/templates/user.tmpl +++ b/templates/user.tmpl @@ -100,6 +100,7 @@ {{if .IsCurrent}}
bookmarks - + likes - mutes - blocks
@@ -146,6 +147,14 @@
No data found
{{end}} +{{else if eq .Type "likes"}} +
Likes
+{{range .Statuses}} +{{template "status.tmpl" (WithContext . $.Ctx)}} +{{else}} +
No data found
+{{end}} + {{else if eq .Type "mutes"}}
Mutes
{{template "userlist.tmpl" (WithContext .Users $.Ctx)}} -- cgit v1.2.3