From 2779d47ad3c986b779c2e17bb223b3af5a6f1287 Mon Sep 17 00:00:00 2001 From: Jason Song Date: Fri, 9 Dec 2022 21:34:51 +0800 Subject: Optimize html templates (#22080) Replace `active{{end}} item` with `active{{end}} item`. --- templates/repo/header.tmpl | 22 +++++++++++----------- templates/repo/issue/labels/label_list.tmpl | 8 ++++---- templates/repo/issue/list.tmpl | 26 +++++++++++++------------- templates/repo/issue/milestone_issues.tmpl | 22 +++++++++++----------- templates/repo/issue/milestones.tmpl | 12 ++++++------ templates/repo/issue/navbar.tmpl | 4 ++-- templates/repo/issue/openclose.tmpl | 4 ++-- templates/repo/projects/list.tmpl | 6 +++--- templates/repo/release/list.tmpl | 4 ++-- templates/repo/settings/navbar.tmpl | 16 ++++++++-------- 10 files changed, 62 insertions(+), 62 deletions(-) (limited to 'templates/repo') diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl index e6bd839f57..c706e00777 100644 --- a/templates/repo/header.tmpl +++ b/templates/repo/header.tmpl @@ -154,13 +154,13 @@ {{if not (or .Repository.IsBeingCreated .Repository.IsBroken)}} diff --git a/templates/repo/issue/list.tmpl b/templates/repo/issue/list.tmpl index 3df7dbca69..ad0ce50ec1 100644 --- a/templates/repo/issue/list.tmpl +++ b/templates/repo/issue/list.tmpl @@ -123,12 +123,12 @@ {{svg "octicon-triangle-down" 14 "dropdown icon"}} @@ -141,14 +141,14 @@ {{svg "octicon-triangle-down" 14 "dropdown icon"}} diff --git a/templates/repo/issue/milestone_issues.tmpl b/templates/repo/issue/milestone_issues.tmpl index ba229cb5e8..f3e28208ad 100644 --- a/templates/repo/issue/milestone_issues.tmpl +++ b/templates/repo/issue/milestone_issues.tmpl @@ -108,11 +108,11 @@ {{svg "octicon-triangle-down" 14 "dropdown icon"}} {{end}} @@ -124,12 +124,12 @@ {{svg "octicon-triangle-down" 14 "dropdown icon"}} diff --git a/templates/repo/issue/milestones.tmpl b/templates/repo/issue/milestones.tmpl index 641dc6c918..3282e895eb 100644 --- a/templates/repo/issue/milestones.tmpl +++ b/templates/repo/issue/milestones.tmpl @@ -46,12 +46,12 @@ {{svg "octicon-triangle-down" 14 "dropdown icon"}} diff --git a/templates/repo/issue/navbar.tmpl b/templates/repo/issue/navbar.tmpl index 9a963cd822..1e57679657 100644 --- a/templates/repo/issue/navbar.tmpl +++ b/templates/repo/issue/navbar.tmpl @@ -1,4 +1,4 @@ diff --git a/templates/repo/issue/openclose.tmpl b/templates/repo/issue/openclose.tmpl index ccfb40684c..758fc447ce 100644 --- a/templates/repo/issue/openclose.tmpl +++ b/templates/repo/issue/openclose.tmpl @@ -1,5 +1,5 @@ diff --git a/templates/repo/release/list.tmpl b/templates/repo/release/list.tmpl index 5f668d74a9..f8c54bf7f6 100644 --- a/templates/repo/release/list.tmpl +++ b/templates/repo/release/list.tmpl @@ -5,10 +5,10 @@ {{template "base/alert" .}} {{if (and .CanCreateRelease (not .PageIsTagList))}} diff --git a/templates/repo/settings/navbar.tmpl b/templates/repo/settings/navbar.tmpl index 2a9202cf40..e2b741b8d0 100644 --- a/templates/repo/settings/navbar.tmpl +++ b/templates/repo/settings/navbar.tmpl @@ -1,34 +1,34 @@