From 5147897c6c8ba3428ea6998f77241182ee8caa24 Mon Sep 17 00:00:00 2001 From: r Date: Sat, 17 Dec 2022 08:26:51 +0000 Subject: Add support for expiring mutes --- templates/mute.tmpl | 29 +++++++++++++++++++++++++++++ templates/user.tmpl | 12 +----------- 2 files changed, 30 insertions(+), 11 deletions(-) create mode 100644 templates/mute.tmpl (limited to 'templates') diff --git a/templates/mute.tmpl b/templates/mute.tmpl new file mode 100644 index 0000000..47d0533 --- /dev/null +++ b/templates/mute.tmpl @@ -0,0 +1,29 @@ +{{with .Data}} +{{template "header.tmpl" (WithContext .CommonData $.Ctx)}} +
Mute {{.User.Acct}}
+ +
+ + +
+ + +
+
+ + +
+ +
+ +{{template "footer.tmpl"}} +{{end}} diff --git a/templates/user.tmpl b/templates/user.tmpl index e30088b..5ea52d9 100644 --- a/templates/user.tmpl +++ b/templates/user.tmpl @@ -79,17 +79,7 @@ {{else}} -
- - - -
- - -
- - - -
+ mute {{end}} {{if .User.Pleroma.Relationship.Following}} - -- cgit v1.2.3