refactor(templates): update djlint to 1.46.0 and resolve its new findings (#39231)

This commit is contained in:
silverwind
2026-09-08 23:17:17 +00:00
committed by GitHub
parent 459fc13783
commit f5c7b21f1d
175 changed files with 533 additions and 528 deletions
+1 -1
View File
@@ -104,7 +104,7 @@
<div class="inline field">
<label></label>
<button class="ui primary button">
<button type="submit" class="ui primary button">
{{ctx.Locale.Tr "repo.migrate_repo"}}
</button>
</div>
+1 -1
View File
@@ -105,7 +105,7 @@
<div class="inline field">
<label></label>
<button class="ui primary button">
<button type="submit" class="ui primary button">
{{ctx.Locale.Tr "repo.migrate_repo"}}
</button>
</div>
+1 -1
View File
@@ -78,7 +78,7 @@
<div class="inline field">
<label></label>
<button class="ui primary button">
<button type="submit" class="ui primary button">
{{ctx.Locale.Tr "repo.migrate_repo"}}
</button>
</div>
+1 -1
View File
@@ -120,7 +120,7 @@
<div class="inline field">
<label></label>
<button class="ui primary button">
<button type="submit" class="ui primary button">
{{ctx.Locale.Tr "repo.migrate_repo"}}
</button>
</div>
+1 -1
View File
@@ -116,7 +116,7 @@
<div class="inline field">
<label></label>
<button class="ui primary button">
<button type="submit" class="ui primary button">
{{ctx.Locale.Tr "repo.migrate_repo"}}
</button>
</div>
+1 -1
View File
@@ -118,7 +118,7 @@
<div class="inline field">
<label></label>
<button class="ui primary button">
<button type="submit" class="ui primary button">
{{ctx.Locale.Tr "repo.migrate_repo"}}
</button>
</div>
+1 -1
View File
@@ -115,7 +115,7 @@
<div class="inline field">
<label></label>
<button class="ui primary button">
<button type="submit" class="ui primary button">
{{ctx.Locale.Tr "repo.migrate_repo"}}
</button>
</div>
+3 -3
View File
@@ -54,7 +54,7 @@
<label>{{ctx.Locale.Tr "repo.migrate_items_milestones"}}</label>
</div>
</div>
<!-- Gogs do not support it
{{/* Gogs do not support it
<div class="inline field">
<label></label>
<div class="ui checkbox">
@@ -66,7 +66,7 @@
<label>{{ctx.Locale.Tr "repo.migrate_items_releases"}}</label>
</div>
</div>
-->
*/}}
</div>
<div class="divider"></div>
@@ -118,7 +118,7 @@
<div class="inline field">
<label></label>
<button class="ui primary button">
<button type="submit" class="ui primary button">
{{ctx.Locale.Tr "repo.migrate_repo"}}
</button>
</div>
+3 -3
View File
@@ -36,11 +36,11 @@
<div class="divider"></div>
<div class="item">
{{if .Failed}}
<button class="ui basic red show-modal button" data-modal="#delete-repo-modal">{{ctx.Locale.Tr "repo.settings.delete"}}</button>
<button type="button" class="ui basic red show-modal button" data-modal="#delete-repo-modal">{{ctx.Locale.Tr "repo.settings.delete"}}</button>
{{else}}
<button class="ui basic show-modal button" data-modal="#cancel-repo-modal">{{ctx.Locale.Tr "cancel"}}</button>
<button type="button" class="ui basic show-modal button" data-modal="#cancel-repo-modal">{{ctx.Locale.Tr "cancel"}}</button>
{{end}}
<button id="repo_migrating_retry" data-migrating-task-retry-url="{{.Link}}/settings/migrate/retry" class="ui basic button tw-hidden">{{ctx.Locale.Tr "retry"}}</button>
<button type="button" id="repo_migrating_retry" data-migrating-task-retry-url="{{.Link}}/settings/migrate/retry" class="ui basic button tw-hidden">{{ctx.Locale.Tr "retry"}}</button>
</div>
{{end}}
</div>
+1 -1
View File
@@ -105,7 +105,7 @@
<div class="inline field">
<label></label>
<button class="ui primary button">
<button type="submit" class="ui primary button">
{{ctx.Locale.Tr "repo.migrate_repo"}}
</button>
</div>