aboutsummaryrefslogtreecommitdiffstats
path: root/templates/org/settings
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2024-02-23 02:05:47 +0800
committerGitHub <noreply@github.com>2024-02-22 18:05:47 +0000
commitc9d0e63c202827756c637d9ca7bbde685c1984b7 (patch)
tree0063802c261722b7225e9802b7818593d9b195e2 /templates/org/settings
parent5ed17d9895bf678374ef5227ca37870c1c170802 (diff)
downloadgitea-c9d0e63c202827756c637d9ca7bbde685c1984b7.tar.gz
gitea-c9d0e63c202827756c637d9ca7bbde685c1984b7.zip
Remove unnecessary "Str2html" modifier from templates (#29319)
Follow #29165
Diffstat (limited to 'templates/org/settings')
-rw-r--r--templates/org/settings/delete.tmpl2
-rw-r--r--templates/org/settings/labels.tmpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/org/settings/delete.tmpl b/templates/org/settings/delete.tmpl
index 2cf8238f57..e1ef471e34 100644
--- a/templates/org/settings/delete.tmpl
+++ b/templates/org/settings/delete.tmpl
@@ -6,7 +6,7 @@
</h4>
<div class="ui attached error segment">
<div class="ui red message">
- <p class="text left">{{svg "octicon-alert"}} {{ctx.Locale.Tr "org.settings.delete_prompt" | Str2html}}</p>
+ <p class="text left">{{svg "octicon-alert"}} {{ctx.Locale.Tr "org.settings.delete_prompt"}}</p>
</div>
<form class="ui form ignore-dirty" id="delete-form" action="{{.Link}}" method="post">
{{.CsrfTokenHtml}}
diff --git a/templates/org/settings/labels.tmpl b/templates/org/settings/labels.tmpl
index b12ea8d9f4..8eb7b4584e 100644
--- a/templates/org/settings/labels.tmpl
+++ b/templates/org/settings/labels.tmpl
@@ -2,7 +2,7 @@
<div class="org-setting-content">
<div class="gt-df gt-ac">
<div class="gt-f1">
- {{ctx.Locale.Tr "org.settings.labels_desc" | Str2html}}
+ {{ctx.Locale.Tr "org.settings.labels_desc"}}
</div>
<button class="ui small primary new-label button">{{ctx.Locale.Tr "repo.issues.new_label"}}</button>
</div>