{{ define "content" }}

Study List

{{- range $k,$v := .StudySummarys}} {{ if eq .LatestJobCondition "Running" }}
Last Update: {{$v.LastJobUpdateTime}}
{{ else if eq .LatestJobCondition "Completed" }}
Last Update: {{$v.LastJobUpdateTime}}
{{ else if eq .LatestJobCondition "Failed" }}
Last Update: {{$v.LastJobUpdateTime}}
{{else}}
StudyJob is not found
{{end}}

{{$k}}

{{- range $v.StudyNameStacks}} {{- end}}
StudyID Owner StudyJobName StudyJobCondition
{{.StudyId}} {{.Owner}} {{.StudyJobName}} {{.StudyJobCondition}}
Create a New Job
{{- end}} Create a New Study and StudyJob
{{ end }}