aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2023-07-17 12:32:03 +0200
committerAleksandr Nogikh <nogikh@google.com>2023-07-17 11:17:04 +0000
commit4450facd726c71db0be8993c744afe0d70063594 (patch)
tree6e76c74c458ed612498cb1d9573e9723258ba1c0
parentc842da34cdd3b56628cb00b5f1f024dabc798716 (diff)
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.
-rw-r--r--dashboard/app/templates.html3
1 files changed, 2 insertions, 1 deletions
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
<td class="result">
{{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}}