mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-21 11:25:24 +00:00
(fix) fixed icons and controller regarding mailbox delegates
This commit is contained in:
@@ -245,11 +245,11 @@
|
||||
ng-click="newFolder(account)">
|
||||
<md-icon>add_circle_outline</md-icon>
|
||||
</md-button>
|
||||
<md-button class="iconButton"
|
||||
<md-button class="sg-icon-button"
|
||||
ng-show="account.id == 0"
|
||||
label:aria-label="Delegation..."
|
||||
ng-click="delegate(account)">
|
||||
<i class="md-icon-people"><!-- delegate --></i>
|
||||
<md-icon>people</md-icon>
|
||||
</md-button>
|
||||
</div>
|
||||
</md-subheader>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
<md-button ng-click="delegate.removeUser(user)"
|
||||
type="button"
|
||||
ng-hide="user.uid != delegate.selectedUser.uid || user.$isSpecial()">
|
||||
<i class="md-icon-delete"><!-- delete --></i>
|
||||
<md-icon>delete</md-icon>
|
||||
</md-button>
|
||||
</div>
|
||||
</md-button>
|
||||
|
||||
@@ -33,16 +33,15 @@
|
||||
escapeToClose: true,
|
||||
locals: {
|
||||
User: User,
|
||||
account: account,
|
||||
$q: $q
|
||||
account: account
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
* @ngInject
|
||||
*/
|
||||
MailboxDelegationController.$inject = ['$scope', '$mdDialog', 'User', 'account', '$q'];
|
||||
function MailboxDelegationController($scope, $mdDialog, User, account, $q) {
|
||||
MailboxDelegationController.$inject = ['$scope', '$mdDialog', 'User', 'account'];
|
||||
function MailboxDelegationController($scope, $mdDialog, User, account) {
|
||||
var vm = this;
|
||||
|
||||
vm.users = account.delegates;
|
||||
|
||||
Reference in New Issue
Block a user