{{ define "template.list" }}

{{ tf "template.list" "name" .Data.TemplateSet.Name }}

{{ "template.set.information" | t }}
{{ "template.set.name" | t }}
{{ .Data.TemplateSet.Name }}
{{ "template.set.version" | t }}
{{ .Data.TemplateSet.Version }}
{{ "template.set.description" | t }}
{{ if .Data.TemplateSet.Description }} {{ .Data.TemplateSet.Description }} {{ else }} --- {{ end }}
{{ "template.set.createdAt" | t }}
{{ .Data.TemplateSet.CreatedAt.Format "02.01.2006" }}
{{ "template.set.updatedAt" | t }}
{{ if .Data.TemplateSet.UpdatedAt }} {{ .Data.TemplateSet.UpdatedAt.Format "02.01.2006" }} {{ else }} --- {{ end }}
{{ if not .Data }} {{ end }} {{ if .Data }} {{ if not .Data.Templates }} {{ end }} {{ end }} {{ range .Data.Templates }} {{ if .UpdatedAt }} {{ else }} {{ end }} {{ end }}
{{ "template.set.name" | t }} {{ "template.set.version" | t }} {{ "template.set.type" | t }} {{ "template.set.createdAt" | t }} {{ "template.set.updatedAt" | t }} {{ "template.set.action.actions" | t }}
{{ "template.list.empty" | t }}
{{ "template.list.empty" | t }}
{{ .Name }} {{ .Version }} {{ .Type }} {{ .CreatedAt.Format "02.01.2006" }}{{ .UpdatedAt.Format "02.01.2006" }}--- {{ {{/* copy button + modal */}} {{/* delete button + modal */}} {{
{{ end }}