summaryrefslogtreecommitdiffstats
path: root/testapi/opnfv_testapi/ui/components/projects/projects.html
diff options
context:
space:
mode:
authorSerena Feng <feng.xiaowei@zte.com.cn>2018-01-18 06:58:27 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-01-18 06:58:27 +0000
commitf82dd79721fec6d4d6e5ac8b7b27cfec689b92ea (patch)
treeb422fd88e596f76af61b71846006c2ad1b1505b3 /testapi/opnfv_testapi/ui/components/projects/projects.html
parent62fb9a03e047d70bb15c67d2748ffe377273d0b6 (diff)
parent16e83d89c4d4d64188bf6d0249050b2740dfd913 (diff)
Merge "Bug fixes in results, tastcases and header file"
Diffstat (limited to 'testapi/opnfv_testapi/ui/components/projects/projects.html')
-rw-r--r--testapi/opnfv_testapi/ui/components/projects/projects.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/testapi/opnfv_testapi/ui/components/projects/projects.html b/testapi/opnfv_testapi/ui/components/projects/projects.html
index 8a27a57..5a3b421 100644
--- a/testapi/opnfv_testapi/ui/components/projects/projects.html
+++ b/testapi/opnfv_testapi/ui/components/projects/projects.html
@@ -2,13 +2,13 @@
<div class="row" style="margin-bottom:24px;"></div>
<div class="row podsTable" style="vertical-align:middle">
- <div class="col-sm-1 pull-right" ng-class="{ 'hidden': ! ((auth.projectNames.length>0) &&
- auth.isAuthenticated) }" >
+ <div class="col-sm-1 pull-right" ng-class="{ 'hidden': !((auth.projectNames.length>0) &&
+ auth.isAuthenticated) && authenticate}" >
<button type="button" class="btn btn-danger" ng-click="ctrl.openBatchDeleteModal()">
<i class="fa fa-minus"></i> Delete</button>
</div>
<div class="col-sm-1 pull-right" ng-class="{ 'hidden': ! ((auth.projectNames.length>0) &&
- auth.isAuthenticated) }">
+ auth.isAuthenticated) && authenticate}">
<button type="button" class="btn btn-success" ng-click="ctrl.openCreateModal()">
<i class="fa fa-plus"></i> Create</button>
</div>
@@ -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%;" ng-class="{'hidden': ! ((auth.projectNames.length>0) && auth.isAuthenticated)}">Operations</th>
+ <th style="width: 10%;" ng-class="{'hidden': ! ((auth.projectNames.length>0) && auth.isAuthenticated) && authenticate}">Operations</th>
</tr>
</thead>
<tbody>
@@ -52,7 +52,7 @@
</td>
<td><a class="text-info" ng-click="ctrl.viewProject(project.name)">{{project.name}}</a></td>
<td>{{project.description}}</td>
- <td ng-class="{'hidden': ! ((auth.projectNames.length>0) && auth.isAuthenticated)}">
+ <td ng-class="{'hidden': ! ((auth.projectNames.length>0) && auth.isAuthenticated) && authenticate}">
<span class="podsTable-col">
<a class="text-warning" ng-click="ctrl.openUpdateModal(project.name)" title="Edit" >
<i class="fa fa-pencil-square-o"></i></a>