Show the deploy branch in the app page title and early in the app list (closes #240)
Check / check (pull_request) Skipped

The app page shows the configured branch as a neutral label next to the
status badge; the line under the title now shows only the repository.
The app list moves the Branch column to right after Name and lets the
table scroll sideways inside its card, so narrow screens no longer cut
columns off. A new test renders both pages for an app on a non-main
branch.

Model: opus-5-5
This commit is contained in:
2026-09-29 09:47:13 +00:00
parent 0a94484795
commit f68e755bd2
4 changed files with 88 additions and 4 deletions
+4 -2
View File
@@ -21,12 +21,13 @@
{{if .AppStats}}
<div class="card overflow-hidden">
<div class="overflow-x-auto">
<table class="table">
<thead class="table-header">
<tr>
<th>Name</th>
<th>Repository</th>
<th>Branch</th>
<th>Repository</th>
<th>Status</th>
<th>Last Deploy</th>
<th>Deploys</th>
@@ -41,8 +42,8 @@
{{.App.Name}}
</a>
</td>
<td class="text-gray-500 font-mono text-xs">{{.App.RepoURL}}</td>
<td class="text-gray-500">{{.App.Branch}}</td>
<td class="text-gray-500 font-mono text-xs">{{.App.RepoURL}}</td>
<td>
{{if eq .App.Status "running"}}
<span class="badge-success">Running</span>
@@ -78,6 +79,7 @@
{{end}}
</tbody>
</table>
</div>
</div>
{{else}}
<div class="card">