1
0
Fork 0
forked from forgejo/forgejo

Replace some gt- classes with tw- (#29570)

Replace 18 `gt-` prefixes with `tw-` with perl replacement. I manually
checked them all with `rg` afterwards.

(cherry picked from commit a2e90014ec20a1085449a66061389cfe0d12260f)

Conflicts:
	templates/repo/header.tmpl
	because some of the header moved to header_fork.tmpl
This commit is contained in:
silverwind 2024-03-04 04:33:20 +01:00 committed by Earl Warren
parent 4dbf2d7c11
commit 2e9ca0597d
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
41 changed files with 50 additions and 70 deletions

View file

@ -39,7 +39,7 @@
<input type="hidden" name="topics" value="{{range $i, $v := .Topics}}{{.Name}}{{if Eval $i "+" 1 "<" (len $.Topics)}},{{end}}{{end}}">
{{range .Topics}}
{{/* keey the same layout as Fomantic UI generated labels */}}
<a class="ui label transition visible gt-cursor-default gt-dib" data-value="{{.Name}}">{{.Name}}{{svg "octicon-x" 16 "delete icon"}}</a>
<a class="ui label transition visible tw-cursor-default gt-dib" data-value="{{.Name}}">{{.Name}}{{svg "octicon-x" 16 "delete icon"}}</a>
{{end}}
<div class="text"></div>
</div>
@ -59,7 +59,7 @@
{{end}}
{{if .Repository.IsArchived}}
<div class="ui warning message gt-text-center">
<div class="ui warning message tw-text-center">
{{if .Repository.ArchivedUnix.IsZero}}
{{ctx.Locale.Tr "repo.archive.title"}}
{{else}}