diff options
author | Unknwon <u@gogs.io> | 2017-04-06 17:20:38 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2017-04-06 17:20:38 -0400 |
commit | 2c404daca612b43bd6b0b720d3e732d9550c0eab (patch) | |
tree | 3e547af01e8f0176b0e2e5d5a87353649777871d /templates/repo/issue | |
parent | 0e271799f2ec744332761cd87fe0d96f4d9653e0 (diff) |
pkg/context: rename {CsrfToken, CsrfTokenHtml} -> {CSRFToken, CSRFTokenHTML}
Diffstat (limited to 'templates/repo/issue')
-rw-r--r-- | templates/repo/issue/labels.tmpl | 6 | ||||
-rw-r--r-- | templates/repo/issue/milestone_new.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/issue/new_form.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/issue/view_content.tmpl | 6 |
4 files changed, 8 insertions, 8 deletions
diff --git a/templates/repo/issue/labels.tmpl b/templates/repo/issue/labels.tmpl index 64622945..88248fc7 100644 --- a/templates/repo/issue/labels.tmpl +++ b/templates/repo/issue/labels.tmpl @@ -12,7 +12,7 @@ </div> <div class="ui new-label segment hide"> <form class="ui form" action="{{$.RepoLink}}/labels/new" method="post"> - {{.CsrfTokenHtml}} + {{.CSRFTokenHTML}} <div class="ui grid"> <div class="five wide column"> <div class="ui small input"> @@ -51,7 +51,7 @@ <p>{{.i18n.Tr "repo.issues.label_templates.info"}}</p> <br/> <form class="ui form center" action="{{.Link}}/initialize" method="post"> - {{.CsrfTokenHtml}} + {{.CSRFTokenHTML}} <div class="field"> <div class="ui selection dropdown"> <input type="hidden" name="template_name" value="Default"> @@ -111,7 +111,7 @@ </div> <div class="content"> <form class="ui edit-label form" action="{{$.RepoLink}}/labels/edit" method="post"> - {{.CsrfTokenHtml}} + {{.CSRFTokenHTML}} <input id="label-modal-id" name="id" type="hidden"> <div class="ui grid"> <div class="five wide column"> diff --git a/templates/repo/issue/milestone_new.tmpl b/templates/repo/issue/milestone_new.tmpl index bd2f7938..383e8fcc 100644 --- a/templates/repo/issue/milestone_new.tmpl +++ b/templates/repo/issue/milestone_new.tmpl @@ -22,7 +22,7 @@ </h2> {{template "base/alert" .}} <form class="ui form grid" action="{{.Link}}" method="post"> - {{.CsrfTokenHtml}} + {{.CSRFTokenHTML}} <div class="eleven wide column"> <div class="field {{if .Err_Title}}error{{end}}"> <label>{{.i18n.Tr "repo.milestones.title"}}</label> diff --git a/templates/repo/issue/new_form.tmpl b/templates/repo/issue/new_form.tmpl index bfb97da2..2bbb81bb 100644 --- a/templates/repo/issue/new_form.tmpl +++ b/templates/repo/issue/new_form.tmpl @@ -1,5 +1,5 @@ <form class="ui comment form grid" action="{{EscapePound .Link}}" method="post"> - {{.CsrfTokenHtml}} + {{.CSRFTokenHTML}} {{if .Flash}} <div class="sixteen wide column"> {{template "base/alert" .}} diff --git a/templates/repo/issue/view_content.tmpl b/templates/repo/issue/view_content.tmpl index 07acc541..3c14e219 100644 --- a/templates/repo/issue/view_content.tmpl +++ b/templates/repo/issue/view_content.tmpl @@ -166,7 +166,7 @@ <div class="ui divider"></div> <div> <form class="ui form" action="{{.DeleteBranchLink}}" method="post"> - {{.CsrfTokenHtml}} + {{.CSRFTokenHTML}} <button class="ui red button">{{$.i18n.Tr "repo.pulls.delete_branch"}}</button> </form> </div> @@ -194,7 +194,7 @@ <div class="ui divider"></div> <div> <form class="ui form" action="{{.Link}}/merge" method="post"> - {{.CsrfTokenHtml}} + {{.CSRFTokenHTML}} <button class="ui green button"> <span class="octicon octicon-git-merge"></span> {{$.i18n.Tr "repo.pulls.merge_pull_request"}} </button> @@ -224,7 +224,7 @@ <div class="content"> <form class="ui segment form" id="comment-form" action="{{$.RepoLink}}/issues/{{.Issue.Index}}/comments" method="post"> {{template "repo/issue/comment_tab" .}} - {{.CsrfTokenHtml}} + {{.CSRFTokenHTML}} <input id="status" name="status" type="hidden"> <div class="text right"> {{if and .IsIssueOwner (not .DisableStatusChange)}} |