From e4dcd9c2a49220528152cf0c844d8870221b3b5c Mon Sep 17 00:00:00 2001 From: Michael Lange Date: Wed, 12 Feb 2020 23:01:25 -0800 Subject: [PATCH] Add volume requirements table to the task group page --- ui/app/templates/jobs/job/task-group.hbs | 26 ++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/ui/app/templates/jobs/job/task-group.hbs b/ui/app/templates/jobs/job/task-group.hbs index 6ca04099d..9e9f21b33 100644 --- a/ui/app/templates/jobs/job/task-group.hbs +++ b/ui/app/templates/jobs/job/task-group.hbs @@ -109,4 +109,30 @@ {{/if}} + + {{#if model.volumes.length}} +
+
+ Volume Requirements +
+
+ {{#list-table source=model.volumes as |t|}} + {{#t.head}} + Name + Type + Source + Permissions + {{/t.head}} + {{#t.body as |row|}} + + {{row.model.name}} + {{row.model.type}} + {{row.model.source}} + {{if row.model.readOnly "Read" "Read/Write"}} + + {{/t.body}} + {{/list-table}} +
+
+ {{/if}}