mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-24 19:58:54 +00:00
Add creation & deletion of addressbooks
This commit is contained in:
1 parent
2672f1a8fc
commit
87cc6bed7c
10 files changed
+308
-62
No files matched your search
@@ -148,7 +148,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
<div class="buttonsToolbar">
|
||||
<a href="#" class="button small" label:title="New Addressbook..."><i class="icon-plus"><!-- new --></i></a>
|
||||
<button data-ng-click="newAddressbook()" class="button small" label:title="New Addressbook..."><i class="icon-plus"><!-- new --></i></button>
|
||||
<a href="#" class="button small" label:title="Subscribe to an Addressbook..."><i class="icon-earth"><!-- subscribe --></i></a>
|
||||
</div>
|
||||
<!--<var:if condition="hasContactSelectionButtons">
|
||||
@@ -191,7 +191,7 @@
|
||||
<ul>
|
||||
<li data-ng-repeat="card in addressbook.cards"
|
||||
data-ng-class="{_selected: addressbook.card.id == card.id}">
|
||||
<input type="checkbox" class="card-picture left"/>
|
||||
<!-- <input type="checkbox" class="card-picture left"/> -->
|
||||
<a data-ui-sref="addressbook.card({addressbook_id: addressbook.id, card_id: card.id})">
|
||||
<span class="card-picture" data-ng-switch="card.tag">
|
||||
<i data-ng-switch-when="vcard" class="icon-ion-ios7-person"><!-- card --></i>
|
||||
|
||||
@@ -51,15 +51,19 @@
|
||||
<ion-nav-buttons side="left">
|
||||
<button menu-toggle="left" class="button button-icon icon ion-navicon"><!-- menu toggle --></button>
|
||||
</ion-nav-buttons>
|
||||
<ion-nav-buttons side="right">
|
||||
<a class="button button-clear button-positive button-icon icon ion-ios7-plus-empty" ng-click="newAddressbook()"><!-- new --></a>
|
||||
</ion-nav-buttons>
|
||||
<ion-content class="has-header">
|
||||
<ion-list>
|
||||
<ion-item ng-repeat="folder in addressbooks" option-buttons="buttons"
|
||||
ui-sref="app.addressbook({addressbook_id: folder.id})"
|
||||
class="item-icon-right">
|
||||
{{folder.name}}
|
||||
<ion-item ng-repeat="addressbook in addressbooks" option-buttons="buttons"
|
||||
ui-sref="app.addressbook({addressbook_id: addressbook.id})"
|
||||
class="item-icon-left item-icon-right">
|
||||
<i class="icon" ng-class="{'ion-earth': addressbook.isRemote}"><!-- public addressbook --></i>
|
||||
{{addressbook.name}}
|
||||
<i class="icon ion-ios7-arrow-right"><!-- right arrow icon --></i>
|
||||
<ion-option-button class="button-info"
|
||||
ng-click="edit(item)"><var:string label:value="Edit"/></ion-option-button>
|
||||
ng-click="edit(addressbook)"><var:string label:value="Edit"/></ion-option-button>
|
||||
</ion-item>
|
||||
</ion-list>
|
||||
</ion-content>
|
||||
|
||||
Reference in new issue
Block a user