sogo/UI/Templates/ContactsUI/UIxContactsUserRightsEditor...

50 lines
2.1 KiB
Plaintext
Raw Normal View History

<?xml version='1.0' standalone='yes'?>
<container
xmlns="http://www.w3.org/1999/xhtml"
xmlns:var="http://www.skyrix.com/od/binding"
xmlns:const="http://www.skyrix.com/od/constant"
xmlns:rsrc="OGo:url"
xmlns:label="OGo:label"
xmlns:uix="OGo:uix">
<div class="addressbookUserRights">
<ul>
<li>
<label>
<input type="checkbox"
data-ng-checked="selectedUser.rights.canViewObjects"
data-ng-model="selectedUser.rights.canViewObjects"
data-ng-change="confirmChange(selectedUser)" />
<var:string label:value="This person can read the cards of this addressbook."/>
</label>
</li>
<li data-ng-hide="selectedUser.$isAnonymous()">
<label>
<input type="checkbox"
data-ng-checked="selectedUser.rights.canCreateObjects"
data-ng-model="selectedUser.rights.canCreateObjects"
data-ng-change="confirmChange(selectedUser)" />
<var:string label:value="This person can add cards to this addressbook."/>
</label>
</li>
<li data-ng-hide="selectedUser.$isAnonymous()">
<label>
<input type="checkbox"
data-ng-checked="selectedUser.rights.canEditObjects"
data-ng-model="selectedUser.rights.canEditObjects"
data-ng-change="confirmChange(selectedUser)" />
<var:string label:value="This person can edit the cards of this addressbook."/>
</label>
</li>
<li data-ng-hide="selectedUser.$isAnonymous()">
<label>
<input type="checkbox"
data-ng-checked="selectedUser.rights.canEraseObjects"
data-ng-model="selectedUser.rights.canEraseObjects"
data-ng-change="confirmChange(selectedUser)" />
<var:string label:value="This person can erase cards from this addressbook."/>
</label>
</li>
</ul>
</div>
</container>