diff --git a/templates/repo/issue/view_content/sidebar.tmpl b/templates/repo/issue/view_content/sidebar.tmpl index 7b4e522e86..f51f6a5265 100644 --- a/templates/repo/issue/view_content/sidebar.tmpl +++ b/templates/repo/issue/view_content/sidebar.tmpl @@ -578,8 +578,6 @@ {{end}} - - -
-
- {{ if .Issue.IsLocked }} - {{.i18n.Tr "repo.issues.unlock.notice_1"}}
- {{.i18n.Tr "repo.issues.unlock.notice_2"}}
- {{else}} - {{.i18n.Tr "repo.issues.lock.notice_1"}}
- {{.i18n.Tr "repo.issues.lock.notice_2"}}
- {{.i18n.Tr "repo.issues.lock.notice_3"}}
- {{end}} -
+
+
+ {{ if .Issue.IsLocked }} + {{.i18n.Tr "repo.issues.unlock.notice_1"}}
+ {{.i18n.Tr "repo.issues.unlock.notice_2"}}
+ {{else}} + {{.i18n.Tr "repo.issues.lock.notice_1"}}
+ {{.i18n.Tr "repo.issues.lock.notice_2"}}
+ {{.i18n.Tr "repo.issues.lock.notice_3"}}
+ {{end}} +
-
- {{.CsrfTokenHtml}} + + {{.CsrfTokenHtml}} - {{ if not .Issue.IsLocked }} -
- {{ .i18n.Tr "repo.issues.lock.reason" }} -
+ {{ if not .Issue.IsLocked }} +
+ {{ .i18n.Tr "repo.issues.lock.reason" }} +
-
- +
+
{{.i18n.Tr "settings.cancel"}}
+ +
+ +
{{end}}