Per-backend log labels: show Gitea Actions text on waiting/failure pages and footer

This commit is contained in:
naeeo
2026-09-29 20:54:38 +08:00
parent a3686a49d4
commit e8126bdc4a
6 changed files with 13 additions and 6 deletions
+2 -2
View File
@@ -15,7 +15,7 @@
<div class="info-box" style="text-align:left">
<strong>构建过程异常终止,部分安装包可能并未生成。</strong><br>
你可以先尝试下载下方已经产出的文件(不存在的文件将提示 404),或查看 GitHub Actions 日志定位原因后重新提交构建。
你可以先尝试下载下方已经产出的文件(不存在的文件将提示 404),或查看 {{ backend_label }} 日志定位原因后重新提交构建。
</div>
<div class="download-list">
@@ -49,7 +49,7 @@
<p style="margin-top:22px">
{% if log_url %}
<a href="{{ log_url }}" target="_blank" rel="noopener"><svg class="icon"><use href="#i-external"/></svg> 查看 GitHub Actions 日志,了解具体失败原因</a>
<a href="{{ log_url }}" target="_blank" rel="noopener"><svg class="icon"><use href="#i-external"/></svg> 查看 {{ backend_label }} 日志,了解具体失败原因</a>
{% endif %}
</p>