Skip to content

Commit

Permalink
use css on labels (#25626) (#25636)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
GiteaBot and derelm authored Jul 3, 2023
1 parent 1ddfe03 commit d8a59d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/shared/actions/runner_edit.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<label>{{.locale.Tr "actions.runners.agent_labels"}}</label>
<span>
{{range .Runner.AgentLabels}}
<span>{{.}}</span>
<span class="ui label">{{.}}</span>
{{end}}
</span>
</div>
Expand Down

0 comments on commit d8a59d5

Please sign in to comment.