summaryrefslogtreecommitdiffstats
path: root/app/common/components/table/table.html
diff options
context:
space:
mode:
authorYoshie Muranaka <yoshiemuranaka@gmail.com>2019-08-08 10:58:04 -0500
committerGunnar Mills <gmills@us.ibm.com>2019-08-27 19:49:02 +0000
commit8c80dbd926f451258a892171f9bd17515a13ddc2 (patch)
tree35c4ab9ef0224af0a9ead95e146fd7c54b30c6e9 /app/common/components/table/table.html
parenta8c7347a0b32ed622219d02817ee3a6e1deb67e8 (diff)
downloadphosphor-webui-8c80dbd926f451258a892171f9bd17515a13ddc2.tar.gz
phosphor-webui-8c80dbd926f451258a892171f9bd17515a13ddc2.zip
Add user role privilege table
Created a directive to handle display of user privilege roles on the local user management page. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I83caea33356012752c7a67301fa2a372f0c28620
Diffstat (limited to 'app/common/components/table/table.html')
-rw-r--r--app/common/components/table/table.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/common/components/table/table.html b/app/common/components/table/table.html
index b40c346..ceedd91 100644
--- a/app/common/components/table/table.html
+++ b/app/common/components/table/table.html
@@ -1,4 +1,4 @@
-<table class="bmc-table">
+<table class="bmc-table {{$ctrl.size}}">
<thead>
<!-- Header row -->
<tr>
@@ -14,9 +14,9 @@
ng-repeat="row in $ctrl.model.data"
class="bmc-table__row">
<!-- Row item -->
- <td ng-repeat="item in row.uiData"
+ <td ng-repeat="item in row.uiData track by $index"
class="bmc-table__cell">
- {{item}}
+ <ng-bind-html ng-bind-html="item"></ng-bind-html>
</td>
<!-- Row Actions -->
<td ng-if="$ctrl.rowActionsEnabled"
OpenPOWER on IntegriCloud