mirror of https://github.com/apache/cloudstack.git
ui: add user information on the Event-View in the UI (#2826)
For root/domain admins, adds the username column
This commit is contained in:
parent
e6af798373
commit
b6a861b09b
|
|
@ -49,6 +49,9 @@
|
|||
account: {
|
||||
label: 'label.account'
|
||||
},
|
||||
username: {
|
||||
label: 'label.username'
|
||||
},
|
||||
domain: {
|
||||
label: 'label.domain'
|
||||
},
|
||||
|
|
@ -331,6 +334,15 @@
|
|||
else
|
||||
return true;
|
||||
}
|
||||
},
|
||||
username: {
|
||||
label: 'label.username',
|
||||
isHidden: function(args) {
|
||||
if (isAdmin() || isDomainAdmin())
|
||||
return false;
|
||||
else
|
||||
return true;
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue