summaryrefslogtreecommitdiffstats
path: root/testapi/opnfv_testapi/ui/components/projects/projects.html
diff options
context:
space:
mode:
authorthuva4 <tharma.thuva@gmail.com>2018-01-08 15:11:17 +0530
committerthuva4 <tharma.thuva@gmail.com>2018-01-09 13:49:55 +0530
commit9d07033a6949af2816fa4a7b234f2f3bcf027707 (patch)
tree604007ccaacac834f73c7ee1d5a1d0446ed6ce74 /testapi/opnfv_testapi/ui/components/projects/projects.html
parent99b9c09aca0ff3bc9a723bc404ea6a0d09ee4ef3 (diff)
Add links in prods,projects and results pages
Add links for the redirection Created Result page Change-Id: I7ba80f6a8d774d6fde33280f701c1188cb5c32d9 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
Diffstat (limited to 'testapi/opnfv_testapi/ui/components/projects/projects.html')
-rw-r--r--testapi/opnfv_testapi/ui/components/projects/projects.html13
1 files changed, 5 insertions, 8 deletions
diff --git a/testapi/opnfv_testapi/ui/components/projects/projects.html b/testapi/opnfv_testapi/ui/components/projects/projects.html
index e8bb947..8a27a57 100644
--- a/testapi/opnfv_testapi/ui/components/projects/projects.html
+++ b/testapi/opnfv_testapi/ui/components/projects/projects.html
@@ -40,7 +40,7 @@
<th style="width: 1%;">Bulk Select</th>
<th style="width: 19%;">Name</th>
<th style="width: 70%;">Description</th>
- <th style="width: 10%;">Operations</th>
+ <th style="width: 10%;" ng-class="{'hidden': ! ((auth.projectNames.length>0) && auth.isAuthenticated)}">Operations</th>
</tr>
</thead>
<tbody>
@@ -50,17 +50,14 @@
<input type="checkbox" value="{{project.name}}" ng-model="ctrl.checkBox[index]" >
</div>
</td>
- <td>{{project.name}}</td>
+ <td><a class="text-info" ng-click="ctrl.viewProject(project.name)">{{project.name}}</a></td>
<td>{{project.description}}</td>
- <td>
+ <td ng-class="{'hidden': ! ((auth.projectNames.length>0) && auth.isAuthenticated)}">
<span class="podsTable-col">
- <a class="text-warning" ng-click="ctrl.openUpdateModal(project.name)" title="Edit" ng-class="{'hidden': ! ((auth.projectNames.length>0) &&
- auth.isAuthenticated)}" >
+ <a class="text-warning" ng-click="ctrl.openUpdateModal(project.name)" title="Edit" >
<i class="fa fa-pencil-square-o"></i></a>
- <a class="text-danger" ng-click="ctrl.openDeleteModal(project.name)" title="Delete" ng-class="{'hidden': ! ((auth.projectNames.length>0) &&
- auth.isAuthenticated)}">
+ <a class="text-danger" ng-click="ctrl.openDeleteModal(project.name)" title="Delete" >
<i class="fa fa-trash-o"></i></a>
- <a class="text-info" ng-click="ctrl.viewProject(project.name)"><i class="fa fa-eye"></i></a>
</span>
</td>
</tr>