diff --git a/pyproject.toml b/pyproject.toml index 1d692aa57ca..531124bf819 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,4 +12,5 @@ dev = [ [tool.djlint] profile="golang" -ignore="H005,H013,H016,H020,H021,H030,H045,H046,H054" +ignore="H005,H013,H016,H020,H021,H030,H045" +include="H018" diff --git a/templates/repo/diff/options_dropdown.tmpl b/templates/repo/diff/options_dropdown.tmpl index 8d08e7ad460..183e4180113 100644 --- a/templates/repo/diff/options_dropdown.tmpl +++ b/templates/repo/diff/options_dropdown.tmpl @@ -15,17 +15,9 @@ {{ctx.Locale.Tr "repo.pulls.collapse_files"}} {{if .Issue.Index}} {{if .ShowOutdatedComments}} - - - + {{ctx.Locale.Tr "repo.issues.review.option.hide_outdated_comments"}} {{else}} - - - + {{ctx.Locale.Tr "repo.issues.review.option.show_outdated_comments"}} {{end}} {{end}} diff --git a/templates/repo/diff/whitespace_dropdown.tmpl b/templates/repo/diff/whitespace_dropdown.tmpl index cf695791cad..d157f7228dc 100644 --- a/templates/repo/diff/whitespace_dropdown.tmpl +++ b/templates/repo/diff/whitespace_dropdown.tmpl @@ -1,29 +1,21 @@
diff --git a/templates/repo/issue/card.tmpl b/templates/repo/issue/card.tmpl index e549ba50f37..5a467924efe 100644 --- a/templates/repo/issue/card.tmpl +++ b/templates/repo/issue/card.tmpl @@ -4,7 +4,7 @@ {{if $attachments}} {{end}} diff --git a/templates/repo/issue/choose.tmpl b/templates/repo/issue/choose.tmpl index 60290e90842..e3ded9ac50f 100644 --- a/templates/repo/issue/choose.tmpl +++ b/templates/repo/issue/choose.tmpl @@ -38,7 +38,7 @@