aboutsummaryrefslogtreecommitdiff
path: root/templates/org/team
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2018-12-10 22:23:56 -0500
committerUnknwon <u@gogs.io>2018-12-10 22:23:56 -0500
commitdb3f0048d80f4f7aaa903d367ace67b8cd0389dc (patch)
tree5392ed0c81240398a516f1868469ea4f18aa6e98 /templates/org/team
parentd3d828498599763c6a6364e112fe3b96de737377 (diff)
templates: rename template function Str2html -> Str2HTML
Diffstat (limited to 'templates/org/team')
-rw-r--r--templates/org/team/sidebar.tmpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/org/team/sidebar.tmpl b/templates/org/team/sidebar.tmpl
index 12f989a6..790a3f16 100644
--- a/templates/org/team/sidebar.tmpl
+++ b/templates/org/team/sidebar.tmpl
@@ -23,13 +23,13 @@
</div>
<div class="item">
{{if eq .Team.LowerName "owners"}}
- {{.i18n.Tr "org.teams.owners_permission_desc" | Str2html}}
+ {{.i18n.Tr "org.teams.owners_permission_desc" | Str2HTML}}
{{else if (eq .Team.Authorize 1)}}
- {{.i18n.Tr "org.teams.read_permission_desc" | Str2html}}
+ {{.i18n.Tr "org.teams.read_permission_desc" | Str2HTML}}
{{else if (eq .Team.Authorize 2)}}
- {{.i18n.Tr "org.teams.write_permission_desc" | Str2html}}
+ {{.i18n.Tr "org.teams.write_permission_desc" | Str2HTML}}
{{else if (eq .Team.Authorize 3)}}
- {{.i18n.Tr "org.teams.admin_permission_desc" | Str2html}}
+ {{.i18n.Tr "org.teams.admin_permission_desc" | Str2HTML}}
{{end}}
</div>
</div>