add icons for user/group in aclview

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2016-04-11 10:19:03 +02:00 committed by Dietmar Maurer
parent b1d8e73d15
commit 25f08bacd0

View File

@ -192,6 +192,7 @@ Ext.define('PVE.dc.ACLView', {
items: [ items: [
{ {
text: gettext('Group Permission'), text: gettext('Group Permission'),
iconCls: 'fa fa-fw fa-group',
handler: function() { handler: function() {
var win = Ext.create('PVE.dc.ACLAdd',{ var win = Ext.create('PVE.dc.ACLAdd',{
aclType: 'group', aclType: 'group',
@ -203,6 +204,7 @@ Ext.define('PVE.dc.ACLView', {
}, },
{ {
text: gettext('User Permission'), text: gettext('User Permission'),
iconCls: 'fa fa-fw fa-user',
handler: function() { handler: function() {
var win = Ext.create('PVE.dc.ACLAdd',{ var win = Ext.create('PVE.dc.ACLAdd',{
aclType: 'user', aclType: 'user',