From 2c404daca612b43bd6b0b720d3e732d9550c0eab Mon Sep 17 00:00:00 2001 From: Unknwon Date: Thu, 6 Apr 2017 17:20:38 -0400 Subject: pkg/context: rename {CsrfToken, CsrfTokenHtml} -> {CSRFToken, CSRFTokenHTML} --- templates/repo/create.tmpl | 2 +- templates/repo/editor/delete.tmpl | 2 +- templates/repo/editor/edit.tmpl | 2 +- templates/repo/editor/upload.tmpl | 4 ++-- templates/repo/issue/labels.tmpl | 6 +++--- templates/repo/issue/milestone_new.tmpl | 2 +- templates/repo/issue/new_form.tmpl | 2 +- templates/repo/issue/view_content.tmpl | 6 +++--- templates/repo/migrate.tmpl | 2 +- templates/repo/pulls/fork.tmpl | 2 +- templates/repo/release/new.tmpl | 2 +- templates/repo/settings/branches.tmpl | 2 +- templates/repo/settings/collaboration.tmpl | 2 +- templates/repo/settings/deploy_keys.tmpl | 2 +- templates/repo/settings/githook_edit.tmpl | 2 +- templates/repo/settings/options.tmpl | 16 ++++++++-------- templates/repo/settings/protected_branch.tmpl | 2 +- templates/repo/settings/webhook/discord.tmpl | 2 +- templates/repo/settings/webhook/gogs.tmpl | 2 +- templates/repo/settings/webhook/slack.tmpl | 2 +- templates/repo/wiki/new.tmpl | 2 +- 21 files changed, 33 insertions(+), 33 deletions(-) (limited to 'templates/repo') diff --git a/templates/repo/create.tmpl b/templates/repo/create.tmpl index 59bc252c..4bf9081d 100644 --- a/templates/repo/create.tmpl +++ b/templates/repo/create.tmpl @@ -3,7 +3,7 @@
- {{.CsrfTokenHtml}} + {{.CSRFTokenHTML}}

{{.i18n.Tr "new_repo"}}

diff --git a/templates/repo/editor/delete.tmpl b/templates/repo/editor/delete.tmpl index a8742530..4506840b 100644 --- a/templates/repo/editor/delete.tmpl +++ b/templates/repo/editor/delete.tmpl @@ -4,7 +4,7 @@
{{template "base/alert" .}} - {{.CsrfTokenHtml}} + {{.CSRFTokenHTML}} {{template "repo/editor/commit_form" .}}
diff --git a/templates/repo/editor/edit.tmpl b/templates/repo/editor/edit.tmpl index 64b09c37..67a679d9 100644 --- a/templates/repo/editor/edit.tmpl +++ b/templates/repo/editor/edit.tmpl @@ -4,7 +4,7 @@
{{template "base/alert" .}}
- {{.CsrfTokenHtml}} + {{.CSRFTokenHTML}}