aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2021-10-29 14:20:15 +0000
committerr <r@freesoftwareextremist.com>2021-10-29 14:20:15 +0000
commit4d68062f2d0525a9d2a40e50d60ea9b25daae9ad (patch)
treef6a8fd244a81dc1f9632aa04b5285118e2aa7191 /templates
parent7d389d22581cc785005a42d655eb7f9c32aac3ec (diff)
downloadbloat-4d68062f2d0525a9d2a40e50d60ea9b25daae9ad.tar.gz
bloat-4d68062f2d0525a9d2a40e50d60ea9b25daae9ad.zip
Add "mute (keep notifications)" button
Diffstat (limited to 'templates')
-rw-r--r--templates/user.tmpl6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/user.tmpl b/templates/user.tmpl
index c7b3164..32b5681 100644
--- a/templates/user.tmpl
+++ b/templates/user.tmpl
@@ -83,6 +83,12 @@
<input type="hidden" name="referrer" value="{{$.Ctx.Referrer}}">
<input type="submit" value="mute" class="btn-link">
</form>
+ -
+ <form class="d-inline" action="/mute/{{.User.ID}}?notifications=false" method="post">
+ <input type="hidden" name="csrf_token" value="{{$.Ctx.CSRFToken}}">
+ <input type="hidden" name="referrer" value="{{$.Ctx.Referrer}}">
+ <input type="submit" value="mute (keep notifications)" class="btn-link">
+ </form>
{{end}}
{{if .User.Pleroma.Relationship.Following}}
-