{{/* * Copyright (C) 2024 Umorpha Systems * SPDX-License-Identifier: AGPL-3.0-or-later */}} {{- define "page-title" }}Job {{ .Job.ID }}{{ end }} {{- define "page-content" }}
Status
{{ .Job.Status }}
Triggers
{{ template "triggers.html.tmpl" .Job }}
Command
{{ .Job.Command }}

Artifacts

{{- if .Status.Finished }}

TODO: show artifacts

{{- else }}

Artifacts are not available until the job has finished.

{{- end }}

Log

{{- if .Status.HasLog }} {{- else }}

There is no log because the job has not started yet.

{{- end }}
{{- end }} {{- template "page.html.tmpl" . }}