From bd9719918cceb0e14d232dd96f5d26e1a646a7c4 Mon Sep 17 00:00:00 2001 From: Ellen Emilia Anna Zscheile Date: Thu, 13 Mar 2025 18:17:09 +0000 Subject: [PATCH] chore(ui): remove unused template "shared/user/blocked_users" (#7213) This was found during PR #7109. It can be removed according to Gusted, see also: https://codeberg.org/forgejo/forgejo/pulls/7109#issuecomment-2942122 Signed-off-by: Ellen Emilia Anna Zscheile Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7213 Reviewed-by: 0ko <0ko@noreply.codeberg.org> Co-authored-by: Ellen Emilia Anna Zscheile Co-committed-by: Ellen Emilia Anna Zscheile --- templates/shared/user/blocked_users.tmpl | 83 ------------------------ 1 file changed, 83 deletions(-) delete mode 100644 templates/shared/user/blocked_users.tmpl diff --git a/templates/shared/user/blocked_users.tmpl b/templates/shared/user/blocked_users.tmpl deleted file mode 100644 index e83a039ef5..0000000000 --- a/templates/shared/user/blocked_users.tmpl +++ /dev/null @@ -1,83 +0,0 @@ -

- {{ctx.Locale.Tr "user.block.title"}} -

-
-

{{ctx.Locale.Tr "user.block.info_1"}}

-
    -
  • {{ctx.Locale.Tr "user.block.info_2"}}
  • -
  • {{ctx.Locale.Tr "user.block.info_3"}}
  • -
  • {{ctx.Locale.Tr "user.block.info_4"}}
  • -
  • {{ctx.Locale.Tr "user.block.info_5"}}
  • -
  • {{ctx.Locale.Tr "user.block.info_6"}}
  • -
  • {{ctx.Locale.Tr "user.block.info_7"}}
  • -
-
-
-
- {{.CsrfTokenHtml}} - - -
- - -

{{ctx.Locale.Tr "user.block.note.info"}}

-
-
-
-

- {{ctx.Locale.Tr "user.block.list"}} -

-
-
- {{range .UserBlocks}} -
-
- {{ctx.AvatarUtils.Avatar .Blockee}} -
-
- - {{if .Note}} -
- {{ctx.Locale.Tr "user.block.note"}}: {{.Note}} -
- {{end}} -
-
- -
- {{$.CsrfTokenHtml}} - - - -
-
-
- {{else}} -
{{ctx.Locale.Tr "user.block.list.none"}}
- {{end}} -
-
-