1
|
<span page-title ng-model="job">{{ 'Path selection fo Job:' | translate }} {{ job.name }}</span>
|
2
|
|
3
|
<h4 translate>Lifecycle Environment selection: Select watched environment</h4>
|
4
|
|
5
|
<div class="row">
|
6
|
<div class="fr select-action">
|
7
|
<button class="btn btn-default"
|
8
|
ui-sref="jobs.details.environments.to-environments">
|
9
|
{{ 'To Environments' | translate }}
|
10
|
</button>
|
11
|
</div>
|
12
|
</div>
|
13
|
|
14
|
<section class="nutupane-sub-section">
|
15
|
<div bst-alert success-messages="successMessages" error-messages="errorMessages"></div>
|
16
|
|
17
|
<div class="loading-mask loading-mask-panel" ng-show="loading">
|
18
|
<i class="icon-spinner icon-spin"></i>
|
19
|
{{ "Loading..." | translate }}
|
20
|
</div>
|
21
|
|
22
|
|
23
|
<section ng-hide="loading || environments.length === 0">
|
24
|
<span path-selector="environments"
|
25
|
ng-model="chosenEnvironment"
|
26
|
mode="singleSelect"
|
27
|
disabled="denied('edit_jobs', job)"
|
28
|
disable-trigger="disableEnvironmentSelection">
|
29
|
</span>
|
30
|
|
31
|
<br/>
|
32
|
|
33
|
<button class="btn btn-default"
|
34
|
ng-hide="denied('edit_jobs')"
|
35
|
ng-disabled="!chosenEnvironment || working"
|
36
|
ng-click="setEnvironment()">
|
37
|
<i class="icon-pencil" ng-hide="working"></i>
|
38
|
<i class="icon-spinner icon-spin" ng-show="working"></i>
|
39
|
<span translate>Set Environment</span>
|
40
|
</button>
|
41
|
</section>
|
42
|
|
43
|
|
44
|
<div ng-show="environments.length === 0 && !loading" >
|
45
|
<p class="alert alert-info"
|
46
|
ng-hide="loading"
|
47
|
translate> No Lifecycle Environments to show.
|
48
|
</p>
|
49
|
</div>
|
50
|
|
51
|
</section>
|