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
diff --git a/app/common/components/table/table.js b/app/common/components/table/table.js
index 09a6d6d..cf2b797 100644
--- a/app/common/components/table/table.js
+++ b/app/common/components/table/table.js
@@ -9,13 +9,16 @@
* The <bmc-table> component expects a 'model' attribute
* that will contain all the data needed to render the table.
*
- * The component also accepts a 'row-actions-enabled' attribute,
+ * The component accepts a 'row-actions-enabled' attribute,
* to optionally render table row actions. Defaults to false.
* Pass true to render actions. Row actions are defined in
* model.data.actions.
*
+ * The component accepts a 'size' attribute which can be
+ * set to 'small' which will render a smaller font size in the
+ * table.
*
- * The model object should contain 'header', and 'data'
+ * The model object should contain 'header' and 'data'
* properties.
*
* model: {
@@ -96,6 +99,6 @@
angular.module('app.common.components').component('bmcTable', {
template: require('./table.html'),
controller: TableController,
- bindings: {model: '<', rowActionsEnabled: '<', emitAction: '&'}
+ bindings: {model: '<', rowActionsEnabled: '<', size: '<', emitAction: '&'}
})
})(window.angular);