From 4450facd726c71db0be8993c744afe0d70063594 Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Mon, 17 Jul 2023 12:32:03 +0200 Subject: dashboard: display job error link independently of job log Job log can sched more light on what was exactly happening. It's not really correct to omit it. --- dashboard/app/templates.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dashboard/app/templates.html b/dashboard/app/templates.html index e9738e785..81e6d2419 100644 --- a/dashboard/app/templates.html +++ b/dashboard/app/templates.html @@ -463,7 +463,8 @@ Use of this source code is governed by Apache 2 LICENSE that can be found in the {{if $job.ErrorLink}} {{link $job.ErrorLink "error"}} - {{else if $job.LogLink}} + {{end}} + {{if $job.LogLink}} {{link $job.LogLink "job log"}} ({{if $job.Commit}}1{{else}}{{len $job.Commits}}{{end}}) {{else if $job.CrashTitle}} -- cgit mrf-deployment