From 8702124fee689d2906eb84949cd336d17569d763 Mon Sep 17 00:00:00 2001 From: Michael Lange Date: Wed, 12 Feb 2020 23:01:38 -0800 Subject: [PATCH] Add volume table to the task detail page --- .../allocations/allocation/task/index.hbs | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/ui/app/templates/allocations/allocation/task/index.hbs b/ui/app/templates/allocations/allocation/task/index.hbs index 04013d263..f08eb0c39 100644 --- a/ui/app/templates/allocations/allocation/task/index.hbs +++ b/ui/app/templates/allocations/allocation/task/index.hbs @@ -105,6 +105,32 @@ {{/if}} + {{#if model.task.volumeMounts.length}} +
+
+ Volumes +
+
+ {{#list-table source=model.task.volumeMounts as |t|}} + {{#t.head}} + Name + Destination + Permissions + Client Source + {{/t.head}} + {{#t.body as |row|}} + + {{row.model.volume}} + {{row.model.destination}} + {{if row.model.readOnly "Read" "Read/Write"}} + {{row.model.source}} + + {{/t.body}} + {{/list-table}} +
+
+ {{/if}} +
Recent Events