Show build platform badge on build list and task detail pages

This commit is contained in:
naeeo
2026-09-29 22:38:54 +08:00
parent e8126bdc4a
commit 8568da0e46
7 changed files with 16 additions and 2 deletions
+3 -1
View File
@@ -16,7 +16,8 @@
<tr>
<th>提交时间</th>
<th>配置名称</th>
<th>平台</th>
<th>目标平台</th>
<th>构建平台</th>
<th>状态</th>
<th>任务编号</th>
<th>操作</th>
@@ -28,6 +29,7 @@
<td class="text-muted" style="white-space:nowrap">{{ run.created_at|date:"Y-m-d H:i" }}</td>
<td><strong>{{ run.filename|default:"—" }}</strong></td>
<td>{{ run.platform_label }}</td>
<td><span class="badge {{ run.backend_badge_class }}">{{ run.backend_label }}</span></td>
<td><span class="badge {{ run.status_badge }} {% if not run.is_finished %}badge-dot{% endif %}">{{ run.status_label }}</span></td>
<td class="mono text-muted">{{ run.short_uuid }}</td>
<td style="white-space:nowrap">