2
0

feat(runners): improve runner UI with Type field and custom docs link

- Add Type field (Global/Organization/Repository) to runner edit page
- Add Owner field showing actual owner name or System for global runners
- Update How to start link to point to GitCaddy act_runner docs

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
GitCaddy
2026-01-11 18:18:18 +00:00
parent 8c37abe34f
commit 4f814080c3
2 changed files with 6 additions and 2 deletions

View File

@@ -68,9 +68,13 @@
<td style="width: 100px; opacity: 0.8;">Version</td>
<td><span class="ui small blue label">{{.Runner.Version}}</span></td>
</tr>
<tr>
<td style="opacity: 0.8;">Type</td>
<td><span class="ui small label">{{.Runner.BelongsToOwnerType.LocaleString ctx.Locale}}</span></td>
</tr>
<tr>
<td style="opacity: 0.8;">Owner</td>
<td data-tooltip-content="{{.Runner.BelongsToOwnerName}}">{{.Runner.BelongsToOwnerType.LocaleString ctx.Locale}}</td>
<td>{{if .Runner.BelongsToOwnerName}}{{.Runner.BelongsToOwnerName}}{{else}}<span style="opacity: 0.6;">System</span>{{end}}</td>
</tr>
<tr>
<td style="opacity: 0.8;">Labels</td>

View File

@@ -10,7 +10,7 @@
</button>
<div class="menu">
<div class="item">
<a href="https://docs.gitea.com/usage/actions/act-runner">{{ctx.Locale.Tr "actions.runners.new_notice"}}</a>
<a href="https://git.marketally.com/gitcaddy/act_runner/src/branch/main/HOWTOSTART.md">{{ctx.Locale.Tr "actions.runners.new_notice"}}</a>
</div>
<div class="divider"></div>
<div class="header">