1
|
<p class="alert alert-info" ng-show="jobsTable.rows.lenght === 0" translate>
|
2
|
You currently do not have any Jobs. You can add Jobs using the button on the right.
|
3
|
</p>
|
4
|
|
5
|
<table class="table table-striped"
|
6
|
ng-class="{'table-mask' : jobsTable.working}"
|
7
|
ng-show="jobsTable.rows.length > 0">
|
8
|
<thead>
|
9
|
<tr bst-table-head row-select>
|
10
|
<th bst-table-column="name" sortable><span translate>Name</span></th>
|
11
|
<th bst-table-column="content_view"><span translate>Content View</span></th>
|
12
|
<th bst-table-column="hostgroup"><span translate>Hostgroup</span></th>
|
13
|
<th bst-table-column="environment"><span translate>Environment</span></th>
|
14
|
<th bst-table-column="jenkinsInstance"><span translate>Jenkins Instance</span></th>
|
15
|
|
16
|
</tr>
|
17
|
</thead>
|
18
|
|
19
|
<div data-extend-template="layouts/select-all-results.html"></div>
|
20
|
|
21
|
<tbody>
|
22
|
<tr bst-table-row ng-repeat="job in jobsTable.rows" row-select="job">
|
23
|
<td bst-table-cell>
|
24
|
<a ui-sref="jobs.details.info({jobId: job.id})">
|
25
|
<div>{{ job.name }}</div>
|
26
|
</a>
|
27
|
</td>
|
28
|
<td bst-table-cell>
|
29
|
<a ng-show="{{ job.content_view !== null }}"
|
30
|
ui-sref="content-views.details.info({ contentViewId: job.content_view.id })">
|
31
|
<div>{{ job.content_view.name }}</div>
|
32
|
</a>
|
33
|
<div ng-show="{{ job.content_view === null }}" translate>none</div>
|
34
|
</td>
|
35
|
<td bst-table-cell>
|
36
|
<a ng-show="{{ job.hostgroup !== null }}"
|
37
|
ng-click="transitionToHostgroup(job.hostgroup)">
|
38
|
<div>{{ job.hostgroup.name }}</div>
|
39
|
</a>
|
40
|
|
41
|
<div ng-show="{{ job.hostgroup === null }}" translate>none</div>
|
42
|
|
43
|
</td>
|
44
|
<td bst-table-cell>
|
45
|
<a ng-show="{{ job.environment !== null }}"
|
46
|
ui-sref="environments.environment.details({ environmentId: job.environment.id })">
|
47
|
<div>{{ job.environment.name }}</div>
|
48
|
</a>
|
49
|
|
50
|
<div ng-show="{{ job.environment === null }}" translate>none</div>
|
51
|
|
52
|
</td>
|
53
|
<td bst-table-cell>
|
54
|
<a ng-show="{{ job.jenkins_instance !== null }}"
|
55
|
ui-sref="jenkins-instances.details.info({ jenkinsInstanceId: job.jenkins_instance.id })">
|
56
|
<div>{{ job.jenkins_instance.name }}</div>
|
57
|
</a>
|
58
|
|
59
|
<div ng-show="{{ job.jenkins_instance === null }}" translate>none</div>
|
60
|
|
61
|
</td>
|
62
|
</tr>
|
63
|
</tbody>
|
64
|
</table>
|