aboutsummaryrefslogtreecommitdiff
path: root/templates/repo/settings/webhook/settings.tmpl
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/repo/settings/webhook/settings.tmpl
parentd3d828498599763c6a6364e112fe3b96de737377 (diff)
templates: rename template function Str2html -> Str2HTML
Diffstat (limited to 'templates/repo/settings/webhook/settings.tmpl')
-rw-r--r--templates/repo/settings/webhook/settings.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/repo/settings/webhook/settings.tmpl b/templates/repo/settings/webhook/settings.tmpl
index 0581f204..35ac4c79 100644
--- a/templates/repo/settings/webhook/settings.tmpl
+++ b/templates/repo/settings/webhook/settings.tmpl
@@ -4,19 +4,19 @@
<div class="field">
<div class="ui radio non-events checkbox">
<input class="hidden" name="events" type="radio" value="push_only" {{if or .PageIsSettingsHooksNew .Webhook.PushOnly}}checked{{end}}>
- <label>{{.i18n.Tr "repo.settings.event_push_only" | Str2html}}</label>
+ <label>{{.i18n.Tr "repo.settings.event_push_only" | Str2HTML}}</label>
</div>
</div>
<div class="field">
<div class="ui radio non-events checkbox">
<input class="hidden" name="events" type="radio" value="send_everything" {{if .Webhook.SendEverything}}checked{{end}}>
- <label>{{.i18n.Tr "repo.settings.event_send_everything" | Str2html}}</label>
+ <label>{{.i18n.Tr "repo.settings.event_send_everything" | Str2HTML}}</label>
</div>
</div>
<div class="field">
<div class="ui radio events checkbox">
<input class="hidden" name="events" type="radio" value="choose_events" {{if .Webhook.ChooseEvents}}checked{{end}}>
- <label>{{.i18n.Tr "repo.settings.event_choose" | Str2html}}</label>
+ <label>{{.i18n.Tr "repo.settings.event_choose" | Str2HTML}}</label>
</div>
</div>
</div>