This repository was archived by the owner on Oct 3, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathBody.html
More file actions
37 lines (34 loc) · 1.68 KB
/
Body.html
File metadata and controls
37 lines (34 loc) · 1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<div style="display:none;" ng-controller="RootCtrl" id="root">
<div>
<div style="float: left; display: inline-block; margin-right: 30px;">Choose ART:</div>
<div rui-alm-project-picker="" rui-alm-project-picker-selected="art.selectedProject" rui-alm-project-picker-allow-deselect="true" style="float: left; display: inline-block;"></div>
</div>
<p style="height: 20px;"></p>
<div ng-if="art.availableReleases.length > 0">
Choose Release: <select ng-model="art.selectedRelease" ng-options="release._refObjectName for release in art.availableReleases"></select>
<div>
<table class="table" ng-if="art.portfolioItems.length > 0">
<thead>
<tr>
<th>Portfolio Item</th>
<th>Name</th>
<th>Owner</th>
<th ng-repeat="project in art.projects">{{project.name}}</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="pi in art.portfolioItems">
<td>{{pi.FormattedID}}</td>
<td>{{pi.Name}}</td>
<td>{{pi.Owner._refObjectName}}</td>
<td ng-repeat="project in art.projects"
ng-mouseenter="teamCommitSelectShow[project.projectId] = pi.ObjectID"
ng-mouseleave="teamCommitSelectShow[project.projectId] = undefined"
ng-class="{green: teamCommitment[pi.ObjectID][project.projectId] === 'Committed', yellow: teamCommitment[pi.ObjectID][project.projectId] === 'Not Committed'}">
<span ng-show="!teamCommitSelectShow[project.projectId]">{{teamCommitment[pi.ObjectID][project.projectId]}}</span>
<select ng-show="teamCommitSelectShow[project.projectId] == pi.ObjectID" ng-model="teamCommitStatus" ng-options="item.name for item in teamCommitValues" ng-change="setTeamCommitment(project, pi, teamCommitStatus)"></select>
</td>
</tr>
</tbody>
</table>
</div>