2016-04-16 21:42:57 +02:00
|
|
|
.row
|
|
|
|
.col-sm-7
|
|
|
|
h3.no-top-margin Project activity
|
|
|
|
ul.list-unstyled
|
|
|
|
li(ng-repeat="event in events")
|
2016-04-18 02:06:13 +02:00
|
|
|
strong: time(ng-bind="event.created | date:'short'")
|
2016-04-17 02:20:23 +02:00
|
|
|
span :
|
2016-04-16 21:42:57 +02:00
|
|
|
span(ng-bind="event.object_name")
|
2016-04-17 12:41:36 +02:00
|
|
|
span(ng-if="event.object_name.length > 0") -
|
|
|
|
span {{ event.description }}
|
2016-05-17 00:06:45 +02:00
|
|
|
|
2016-05-16 17:58:18 +02:00
|
|
|
.col-sm-5(style="border-left: 1px solid #EEE;")
|
2016-04-16 21:42:57 +02:00
|
|
|
h4.no-top-margin Task history
|
2016-05-16 17:58:18 +02:00
|
|
|
ul.nav.nav-pills.nav-stacked.task-history-list
|
2016-05-08 11:36:17 +02:00
|
|
|
li(ng-repeat="task in tasks"): a(ng-click="openTask(task)" href="#")
|
2016-12-07 20:44:30 +01:00
|
|
|
span(ng-class="{ 'text-muted': task.status == 'waiting', 'text-info': task.status == 'running', 'text-danger': task.status == 'error', 'text-success': task.status == 'success' }")
|
2016-05-16 17:58:18 +02:00
|
|
|
span(ng-if="task.playbook.length == 0") {{ task.tpl_playbook }}
|
|
|
|
span(ng-if="task.playbook.length > 0") {{ task.playbook }}
|
2016-04-17 20:01:51 +02:00
|
|
|
span.pull-right(ng-if="task.status == 'waiting'") {{ task.created | date:'short' }}
|
|
|
|
span.pull-right(ng-if="task.status != 'waiting'") {{ task.start | date:'short' }}
|
|
|
|
|
2016-04-17 02:20:23 +02:00
|
|
|
br
|
2016-05-16 17:58:18 +02:00
|
|
|
span
|
|
|
|
span.pull-right {{ task.duration }} minutes
|
2016-06-26 00:43:59 +02:00
|
|
|
br
|
|
|
|
span
|
|
|
|
span.pull-right(ng-if="task.user_name") by {{ task.user_name }}
|