diff --git a/templates/admin/auth/list.tmpl b/templates/admin/auth/list.tmpl index b4a703e4139f6..f1b4da35eb35d 100644 --- a/templates/admin/auth/list.tmpl +++ b/templates/admin/auth/list.tmpl @@ -6,7 +6,7 @@

{{.i18n.Tr "admin.auths.auth_manage_panel"}} ({{.i18n.Tr "admin.total" .Total}})
- {{.i18n.Tr "admin.auths.new"}} + {{.i18n.Tr "admin.auths.new"}}

diff --git a/templates/admin/base/search.tmpl b/templates/admin/base/search.tmpl index 98fd3f4a0780f..4ec62c162c314 100644 --- a/templates/admin/base/search.tmpl +++ b/templates/admin/base/search.tmpl @@ -18,6 +18,6 @@
- +
diff --git a/templates/admin/emails/list.tmpl b/templates/admin/emails/list.tmpl index 277c777a89c01..92444efbd8bb3 100644 --- a/templates/admin/emails/list.tmpl +++ b/templates/admin/emails/list.tmpl @@ -25,7 +25,7 @@
- +
diff --git a/templates/admin/org/list.tmpl b/templates/admin/org/list.tmpl index 0782ef64e97a2..1cfd3e79e130b 100644 --- a/templates/admin/org/list.tmpl +++ b/templates/admin/org/list.tmpl @@ -6,7 +6,7 @@

{{.i18n.Tr "admin.orgs.org_manage_panel"}} ({{.i18n.Tr "admin.total" .Total}})
- {{.i18n.Tr "admin.orgs.new_orga"}} + {{.i18n.Tr "admin.orgs.new_orga"}}

diff --git a/templates/admin/packages/list.tmpl b/templates/admin/packages/list.tmpl index df89d8bed2367..6b19c09a1e475 100644 --- a/templates/admin/packages/list.tmpl +++ b/templates/admin/packages/list.tmpl @@ -24,7 +24,7 @@ - +
diff --git a/templates/admin/process.tmpl b/templates/admin/process.tmpl index c44300dbb7593..51bf1d48f91f3 100644 --- a/templates/admin/process.tmpl +++ b/templates/admin/process.tmpl @@ -1,7 +1,7 @@

{{.i18n.Tr "admin.monitor.process"}}
- {{.i18n.Tr "admin.monitor.stacktrace"}} + {{.i18n.Tr "admin.monitor.stacktrace"}}

diff --git a/templates/admin/repo/list.tmpl b/templates/admin/repo/list.tmpl index da05bfab962e9..96f04b8fe40d6 100644 --- a/templates/admin/repo/list.tmpl +++ b/templates/admin/repo/list.tmpl @@ -6,7 +6,7 @@

{{.i18n.Tr "admin.repos.repo_manage_panel"}} ({{.i18n.Tr "admin.total" .Total}})

diff --git a/templates/admin/repo/search.tmpl b/templates/admin/repo/search.tmpl index 8b1deb9134d97..e51d50936bce0 100644 --- a/templates/admin/repo/search.tmpl +++ b/templates/admin/repo/search.tmpl @@ -24,6 +24,6 @@
- +
diff --git a/templates/admin/repo/unadopted.tmpl b/templates/admin/repo/unadopted.tmpl index 345f59401a1c7..cd04891d7e9d6 100644 --- a/templates/admin/repo/unadopted.tmpl +++ b/templates/admin/repo/unadopted.tmpl @@ -6,7 +6,7 @@

{{.i18n.Tr "admin.repos.unadopted"}}

@@ -14,7 +14,7 @@
- +
diff --git a/templates/admin/stacktrace.tmpl b/templates/admin/stacktrace.tmpl index 68dfbe066d1f9..5c3993e2343c0 100644 --- a/templates/admin/stacktrace.tmpl +++ b/templates/admin/stacktrace.tmpl @@ -6,7 +6,7 @@

{{.i18n.Tr "admin.monitor.stacktrace"}}: {{.i18n.Tr "admin.monitor.goroutines" .GoroutineCount}}

diff --git a/templates/admin/user/list.tmpl b/templates/admin/user/list.tmpl index 755e4436f89d0..963a440e299e9 100644 --- a/templates/admin/user/list.tmpl +++ b/templates/admin/user/list.tmpl @@ -6,7 +6,7 @@

{{.i18n.Tr "admin.users.user_manage_panel"}} ({{.i18n.Tr "admin.total" .Total}})

@@ -56,7 +56,7 @@
- +
diff --git a/templates/base/head_navbar.tmpl b/templates/base/head_navbar.tmpl index 5ce1d0b888148..babf244f9380a 100644 --- a/templates/base/head_navbar.tmpl +++ b/templates/base/head_navbar.tmpl @@ -77,7 +77,7 @@ {{svg "octicon-issue-opened"}} {{.ActiveStopwatch.RepoSlug}}#{{.ActiveStopwatch.IssueIndex}} - + {{if .ActiveStopwatch}}{{Sec2Time .ActiveStopwatch.Seconds}}{{end}} diff --git a/templates/explore/code.tmpl b/templates/explore/code.tmpl index e1056ab3129d7..2801cdfaf050c 100644 --- a/templates/explore/code.tmpl +++ b/templates/explore/code.tmpl @@ -14,7 +14,7 @@
{{.i18n.Tr "explore.search.match"}}
- +
diff --git a/templates/explore/repo_search.tmpl b/templates/explore/repo_search.tmpl index bc4572dfcdb26..3d45305df3b02 100644 --- a/templates/explore/repo_search.tmpl +++ b/templates/explore/repo_search.tmpl @@ -27,7 +27,7 @@
- +
diff --git a/templates/explore/search.tmpl b/templates/explore/search.tmpl index 245cc9f345f22..2c1687f60e8af 100644 --- a/templates/explore/search.tmpl +++ b/templates/explore/search.tmpl @@ -19,7 +19,7 @@
- +
diff --git a/templates/org/home.tmpl b/templates/org/home.tmpl index 1fe0b035e6ff3..a49029d4d5082 100644 --- a/templates/org/home.tmpl +++ b/templates/org/home.tmpl @@ -78,7 +78,7 @@ {{if .IsOrganizationOwner}}
- {{.i18n.Tr "org.create_new_team"}} + {{.i18n.Tr "org.create_new_team"}}
{{end}} {{end}} diff --git a/templates/org/team/sidebar.tmpl b/templates/org/team/sidebar.tmpl index 8adee3cc7a185..d597d1349f5da 100644 --- a/templates/org/team/sidebar.tmpl +++ b/templates/org/team/sidebar.tmpl @@ -12,7 +12,7 @@
{{$.CsrfTokenHtml}} - +
{{end}} diff --git a/templates/org/team/teams.tmpl b/templates/org/team/teams.tmpl index 9165a62bcab61..49407ef194bef 100644 --- a/templates/org/team/teams.tmpl +++ b/templates/org/team/teams.tmpl @@ -25,7 +25,7 @@ {{else if $.IsOrganizationOwner}}
{{$.CsrfTokenHtml}} - +
{{end}} diff --git a/templates/package/shared/list.tmpl b/templates/package/shared/list.tmpl index 9e6bf5ce9e7c2..ce2b57e4a0d50 100644 --- a/templates/package/shared/list.tmpl +++ b/templates/package/shared/list.tmpl @@ -17,7 +17,7 @@ - +
diff --git a/templates/package/shared/versionlist.tmpl b/templates/package/shared/versionlist.tmpl index e2aa19cc8cb66..59f7cd1647a96 100644 --- a/templates/package/shared/versionlist.tmpl +++ b/templates/package/shared/versionlist.tmpl @@ -10,7 +10,7 @@ {{end}} - +
diff --git a/templates/repo/commit_page.tmpl b/templates/repo/commit_page.tmpl index 70cc7d02ea3c0..1e6296836338f 100644 --- a/templates/repo/commit_page.tmpl +++ b/templates/repo/commit_page.tmpl @@ -22,11 +22,11 @@

{{RenderCommitMessage $.Context .Commit.Message $.RepoLink $.Repository.ComposeMetas}}{{template "repo/commit_statuses" dict "Status" .CommitStatus "Statuses" .CommitStatuses "root" $}}

{{if not $.PageIsWiki}}
- + {{.i18n.Tr "repo.diff.browse_source"}} {{if and ($.Permission.CanWrite $.UnitTypeCode) (not $.Repository.IsArchived) (not .IsDeleted)}}{{- /* */ -}} - diff --git a/templates/repo/diff/box.tmpl b/templates/repo/diff/box.tmpl index bfac8c52e8857..02c7dcd68a37d 100644 --- a/templates/repo/diff/box.tmpl +++ b/templates/repo/diff/box.tmpl @@ -186,7 +186,7 @@ {{$.i18n.Tr "loading"}}
-
{{.i18n.Tr "repo.issues.cancel"}}
+
{{.i18n.Tr "repo.issues.cancel"}}
{{.i18n.Tr "repo.issues.save"}}
diff --git a/templates/repo/editor/cherry_pick.tmpl b/templates/repo/editor/cherry_pick.tmpl index 9cdda2ea834e7..15f518f903739 100644 --- a/templates/repo/editor/cherry_pick.tmpl +++ b/templates/repo/editor/cherry_pick.tmpl @@ -12,7 +12,7 @@
diff --git a/templates/repo/issue/labels/label_new.tmpl b/templates/repo/issue/labels/label_new.tmpl index 15a6c029a3185..a7c30bd222cea 100644 --- a/templates/repo/issue/labels/label_new.tmpl +++ b/templates/repo/issue/labels/label_new.tmpl @@ -19,8 +19,8 @@ {{template "repo/issue/label_precolors"}}
-
{{.i18n.Tr "repo.milestones.cancel"}}
- +
{{.i18n.Tr "repo.milestones.cancel"}}
+
diff --git a/templates/repo/issue/milestone_new.tmpl b/templates/repo/issue/milestone_new.tmpl index 94d31d627e4dc..178b2c9db88a9 100644 --- a/templates/repo/issue/milestone_new.tmpl +++ b/templates/repo/issue/milestone_new.tmpl @@ -44,7 +44,7 @@
{{if .PageIsEditMilestone}} - + {{.i18n.Tr "repo.milestones.cancel"}} +
diff --git a/templates/repo/issue/search.tmpl b/templates/repo/issue/search.tmpl index f7ca49e663911..8fd31a2317edb 100644 --- a/templates/repo/issue/search.tmpl +++ b/templates/repo/issue/search.tmpl @@ -6,6 +6,6 @@ - + diff --git a/templates/repo/issue/view_content.tmpl b/templates/repo/issue/view_content.tmpl index 91af5160b6dc8..8d4fc4f8b3d16 100644 --- a/templates/repo/issue/view_content.tmpl +++ b/templates/repo/issue/view_content.tmpl @@ -215,8 +215,8 @@ {{end}} diff --git a/templates/repo/issue/view_content/reactions.tmpl b/templates/repo/issue/view_content/reactions.tmpl index 4978edf3ff58d..4e0efca870193 100644 --- a/templates/repo/issue/view_content/reactions.tmpl +++ b/templates/repo/issue/view_content/reactions.tmpl @@ -1,5 +1,5 @@ {{range $key, $value := .Reactions}} - + {{ReactionToEmoji $key}} {{len $value}} diff --git a/templates/repo/issue/view_title.tmpl b/templates/repo/issue/view_title.tmpl index 707b8252f4652..22ad58876f434 100644 --- a/templates/repo/issue/view_title.tmpl +++ b/templates/repo/issue/view_title.tmpl @@ -2,7 +2,7 @@
{{if and (or .HasIssuesOrPullsWritePermission .IsIssuePoster) (not .Repository.IsArchived)}}
-
{{.i18n.Tr "repo.issues.edit"}}
+
{{.i18n.Tr "repo.issues.edit"}}
{{end}}

@@ -14,8 +14,8 @@

{{if and (or .HasIssuesOrPullsWritePermission .IsIssuePoster) (not .Repository.IsArchived)}}
- - + +
{{end}}
diff --git a/templates/repo/projects/new.tmpl b/templates/repo/projects/new.tmpl index e015f7d7af7c2..e801959aad27c 100644 --- a/templates/repo/projects/new.tmpl +++ b/templates/repo/projects/new.tmpl @@ -50,7 +50,7 @@
{{if .PageIsEditProjects}} - + {{.i18n.Tr "repo.milestones.cancel"}}
diff --git a/templates/repo/settings/branches.tmpl b/templates/repo/settings/branches.tmpl index 5671eca368a50..dbc115ec40a3c 100644 --- a/templates/repo/settings/branches.tmpl +++ b/templates/repo/settings/branches.tmpl @@ -66,7 +66,7 @@ {{range .ProtectedBranches}} -
{{.BranchName}}
+
{{.BranchName}}
{{$.i18n.Tr "repo.settings.edit_protected_branch"}} {{else}} diff --git a/templates/repo/settings/deploy_keys.tmpl b/templates/repo/settings/deploy_keys.tmpl index 019a62b5f12f6..6b9e129d9b485 100644 --- a/templates/repo/settings/deploy_keys.tmpl +++ b/templates/repo/settings/deploy_keys.tmpl @@ -8,9 +8,9 @@ {{.i18n.Tr "repo.settings.deploy_keys"}}
{{if not .DisableSSH}} -
{{.i18n.Tr "repo.settings.add_deploy_key"}}
+
{{.i18n.Tr "repo.settings.add_deploy_key"}}
{{else}} -
{{.i18n.Tr "settings.ssh_disabled"}}
+
{{.i18n.Tr "settings.ssh_disabled"}}
{{end}}
diff --git a/templates/repo/settings/lfs_file.tmpl b/templates/repo/settings/lfs_file.tmpl index a4d6b21f1c9ee..0c8eff122b2e8 100644 --- a/templates/repo/settings/lfs_file.tmpl +++ b/templates/repo/settings/lfs_file.tmpl @@ -12,7 +12,7 @@ {{.i18n.Tr "repo.escape_control_characters"}} {{end}} - {{$.i18n.Tr "repo.settings.lfs_findcommits"}} + {{$.i18n.Tr "repo.settings.lfs_findcommits"}}
diff --git a/templates/repo/settings/lfs_file_find.tmpl b/templates/repo/settings/lfs_file_find.tmpl index 60caf46fe8bce..77e49989dde6d 100644 --- a/templates/repo/settings/lfs_file_find.tmpl +++ b/templates/repo/settings/lfs_file_find.tmpl @@ -30,12 +30,12 @@ {{if .ParentHashes}} {{$.i18n.Tr "repo.diff.parent"}} {{range .ParentHashes}} - {{ShortSha .String}} + {{ShortSha .String}} {{end}} {{end}}
{{$.i18n.Tr "repo.diff.commit"}} - {{ShortSha .SHA}} + {{ShortSha .SHA}} {{TimeSince .When $.i18n.Lang}} diff --git a/templates/repo/settings/lfs_locks.tmpl b/templates/repo/settings/lfs_locks.tmpl index d30575a057ab6..50793814539ab 100644 --- a/templates/repo/settings/lfs_locks.tmpl +++ b/templates/repo/settings/lfs_locks.tmpl @@ -13,7 +13,7 @@ {{$.CsrfTokenHtml}}
- +
@@ -43,7 +43,7 @@
{{$.CsrfTokenHtml}} - +
diff --git a/templates/repo/settings/lfs_pointers.tmpl b/templates/repo/settings/lfs_pointers.tmpl index 440e544232558..159ee94f9b7f4 100644 --- a/templates/repo/settings/lfs_pointers.tmpl +++ b/templates/repo/settings/lfs_pointers.tmpl @@ -56,7 +56,7 @@ - {{$.i18n.Tr "repo.settings.lfs_findcommits"}} + {{$.i18n.Tr "repo.settings.lfs_findcommits"}} {{if .InRepo}}{{svg "octicon-check"}}{{else}}{{svg "octicon-x"}}{{end}} {{if .Exists}}{{svg "octicon-check"}}{{else}}{{svg "octicon-x"}}{{end}} diff --git a/templates/repo/settings/options.tmpl b/templates/repo/settings/options.tmpl index 77897f25cf9fb..e2d6c5e1d5039 100644 --- a/templates/repo/settings/options.tmpl +++ b/templates/repo/settings/options.tmpl @@ -98,7 +98,7 @@
{{.CsrfTokenHtml}} - +
@@ -183,7 +183,7 @@ {{$.CsrfTokenHtml}} - + diff --git a/templates/repo/settings/tags.tmpl b/templates/repo/settings/tags.tmpl index 48c42bdf254c4..8e67285dd1064 100644 --- a/templates/repo/settings/tags.tmpl +++ b/templates/repo/settings/tags.tmpl @@ -65,7 +65,7 @@ - + {{$.i18n.Tr "cancel"}} {{else}} @@ -110,7 +110,7 @@ {{end}} - {{$.i18n.Tr "edit"}} + {{$.i18n.Tr "edit"}}
{{$.CsrfTokenHtml}} diff --git a/templates/repo/settings/webhook/base_list.tmpl b/templates/repo/settings/webhook/base_list.tmpl index b1a3771bdba11..e2416607cf733 100644 --- a/templates/repo/settings/webhook/base_list.tmpl +++ b/templates/repo/settings/webhook/base_list.tmpl @@ -2,7 +2,7 @@ {{.Title}}