diff options
author | Unknwon <u@gogs.io> | 2018-12-10 22:23:56 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2018-12-10 22:23:56 -0500 |
commit | db3f0048d80f4f7aaa903d367ace67b8cd0389dc (patch) | |
tree | 5392ed0c81240398a516f1868469ea4f18aa6e98 /templates/org/team | |
parent | d3d828498599763c6a6364e112fe3b96de737377 (diff) |
templates: rename template function Str2html -> Str2HTML
Diffstat (limited to 'templates/org/team')
-rw-r--r-- | templates/org/team/sidebar.tmpl | 8 |
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> |