forked from NYANDEV/forgejo
Backport #25626 by @derelm Changes html to use CSS label class similar to `templates/shared/actions/runner_list.tmpl` Before: ![grafik](https://github.com/go-gitea/gitea/assets/465155/6729d580-3ea6-4a90-972e-6e5117459da7) After: ![grafik](https://github.com/go-gitea/gitea/assets/465155/d4fc280c-c40b-4db4-b1ba-877270f875c8) List view (for reference - unchanged): ![grafik](https://github.com/go-gitea/gitea/assets/465155/5ad2d8d1-2fb5-414d-823b-48a368a74724) Co-authored-by: derelm <465155+derelm@users.noreply.github.com>
This commit is contained in:
parent
1ddfe03131
commit
d8a59d5f12
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@
|
||||||
<label>{{.locale.Tr "actions.runners.agent_labels"}}</label>
|
<label>{{.locale.Tr "actions.runners.agent_labels"}}</label>
|
||||||
<span>
|
<span>
|
||||||
{{range .Runner.AgentLabels}}
|
{{range .Runner.AgentLabels}}
|
||||||
<span>{{.}}</span>
|
<span class="ui label">{{.}}</span>
|
||||||
{{end}}
|
{{end}}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue