aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--service/service.go2
-rw-r--r--templates/mute.tmpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/service/service.go b/service/service.go
index 0d2e196..bc9e5b8 100644
--- a/service/service.go
+++ b/service/service.go
@@ -683,7 +683,7 @@ func (s *service) MutePage(c *client, id string) (err error) {
if err != nil {
return
}
- cdata := s.cdata(c, "Mute"+user.DisplayName+" @"+user.Acct, 0, 0, "")
+ cdata := s.cdata(c, "Mute "+user.DisplayName+" @"+user.Acct, 0, 0, "")
data := &renderer.UserData{
User: user,
CommonData: cdata,
diff --git a/templates/mute.tmpl b/templates/mute.tmpl
index 47d0533..ee66b91 100644
--- a/templates/mute.tmpl
+++ b/templates/mute.tmpl
@@ -1,6 +1,6 @@
{{with .Data}}
{{template "header.tmpl" (WithContext .CommonData $.Ctx)}}
-<div class="page-title"> Mute {{.User.Acct}} </div>
+<div class="page-title"> Mute {{EmojiFilter (HTML .User.DisplayName) .User.Emojis | Raw}} @{{.User.Acct}} </div>
<form action="/mute/{{.User.ID}}" method="POST">
<input type="hidden" name="csrf_token" value="{{$.Ctx.CSRFToken}}">