{{- /* artifactfile.tmpl ~ THIS IS DUE FOR A REWRITE AND DELETE. */ -}} {{- define "artifactfile" }} {{- if eq false (index . "editor")}} {{- /* render nothing in the layout */}} {{- else}} {{- $faSize := "fa-fw fa-2x" -}} {{- $id := index . "modID"}} {{- $unid := index . "unid"}} {{- $filename := index . "filename"}} {{- $statMod := index . "modStatModify"}} {{- $statSize := index . "modStatSize"}} {{- $kind := index . "modKind"}} {{- $absDownload := index . "modAbsDownload"}} {{- $previewImg := recordImgSample $unid}} {{- $thumbImg := recordThumbSample $unid}} {{- $replace := "refresh the page to see the changes"}} {{- /* File assets and metadata editors */}}
{{- end}} {{- end}}