mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-02-17 07:33:57 +00:00
(js) Use one-time bindings in ACLs and sidenav
This commit is contained in:
@@ -55,11 +55,11 @@
|
||||
<sg-avatar-image class="md-avatar"
|
||||
sg-email="user.c_email"
|
||||
ng-disabled="user.inactive"
|
||||
size="40">{{ user.$avatarIcon }}</sg-avatar-image>
|
||||
size="40">{{ ::user.$avatarIcon }}</sg-avatar-image>
|
||||
</div>
|
||||
<div class="sg-tile-content">
|
||||
<div class="sg-md-subhead"><div>{{user.$fullname()}}</div></div>
|
||||
<div class="sg-md-body"><div>{{user.c_email}}</div></div>
|
||||
<div class="sg-md-subhead"><div ng-bind="::user.$fullname()"><!-- username --></div></div>
|
||||
<div class="sg-md-body"><div ng-bind="::user.c_email"><!-- email --></div></div>
|
||||
</div>
|
||||
<md-button class="md-icon-button md-secondary" type="button"
|
||||
ng-click="acl.selectAllRights(user)"
|
||||
@@ -102,7 +102,7 @@
|
||||
|
||||
<md-dialog-content class="md-default-theme md-bg md-warn md-padding sg-dialog-message ng-hide"
|
||||
ng-show="acl.confirmation.showing">
|
||||
<div>{{acl.confirmation.message}}</div>
|
||||
<div ng-bind="acl.confirmation.message"><!-- message --></div>
|
||||
</md-dialog-content>
|
||||
<md-dialog-actions ng-show="acl.confirmation.showing">
|
||||
<md-button ng-click="acl.selectedUser.$resetRights(true); acl.confirmation.showing = false">
|
||||
|
||||
@@ -6,16 +6,16 @@
|
||||
xmlns:label="OGo:label">
|
||||
<md-toolbar class="sg-padded md-hue-2 md-tall" flex-none="flex-none">
|
||||
<sg-avatar-image class="md-tile-left"
|
||||
sg-email="activeUser.email"
|
||||
sg-email="::activeUser.email"
|
||||
size="40">person</sg-avatar-image>
|
||||
<div layout="row" layout-align="space-between center">
|
||||
<div style="overflow: hidden">
|
||||
<p class="sg-md-title sg-no-wrap">{{activeUser.identification}}</p>
|
||||
<p class="md-caption sg-no-wrap">{{activeUser.email}}</p>
|
||||
<p class="sg-md-title sg-no-wrap" ng-bind="::activeUser.identification"><!-- username --></p>
|
||||
<p class="md-caption sg-no-wrap" ng-bind="::activeUser.email"><!-- email --></p>
|
||||
</div>
|
||||
<md-button class="md-icon-button"
|
||||
ng-hide="baseURL.endsWith('/Preferences')"
|
||||
ng-href="{{activeUser.path.preferences}}">
|
||||
ng-hide="::baseURL.endsWith('/Preferences')"
|
||||
ng-href="{{::activeUser.path.preferences}}">
|
||||
<md-icon>settings</md-icon>
|
||||
<md-tooltip><var:string label:value="Preferences"/></md-tooltip>
|
||||
</md-button>
|
||||
|
||||
Reference in New Issue
Block a user