diff --git a/web2/src/main.js b/web2/src/main.js index 80fc8982..7ee3a677 100644 --- a/web2/src/main.js +++ b/web2/src/main.js @@ -8,7 +8,7 @@ Vue.config.productionTip = false; Vue.filter('formatDate', (value) => (value ? moment(String(value)).fromNow() : '—')); Vue.filter('formatTime', (value) => (value ? moment(String(value)).format('LTS') : '—')); -Vue.filter('formatMilliseconds', (value) => (value ? moment.duration(parseInt(value, 10), 'milliseconds').humanize() : undefined)); +Vue.filter('formatMilliseconds', (value) => (value ? moment.duration(parseInt(value, 10), 'milliseconds').humanize() : '—')); new Vue({ router, diff --git a/web2/src/views/project/Activity.vue b/web2/src/views/project/Activity.vue index b58460ba..7f0db0d1 100644 --- a/web2/src/views/project/Activity.vue +++ b/web2/src/views/project/Activity.vue @@ -16,8 +16,8 @@ diff --git a/web2/src/views/project/TemplateView.vue b/web2/src/views/project/TemplateView.vue index 13779011..47f5b396 100644 --- a/web2/src/views/project/TemplateView.vue +++ b/web2/src/views/project/TemplateView.vue @@ -97,8 +97,45 @@ {{ item.playbook }} - + + + + + + mdi-monitor + + + + Inventory + + {{ inventory.find((x) => x.id === item.inventory_id).name }} + + + + + + + + + + mdi-code-braces + + + Environment + + {{ environment.find((x) => x.id === item.environment_id).name }} + + + + + + + + + + mdi-key + SSH Key @@ -111,24 +148,9 @@ - - Inventory - - {{ inventory.find((x) => x.id === item.inventory_id).name }} - - - - - - - Environment - - {{ environment.find((x) => x.id === item.environment_id).name }} - - - - - + + mdi-git + Repository @@ -141,12 +163,12 @@ -

Task History

+