mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-20 22:05:57 +00:00
Contacts - export addressBook
This commit is contained in:
committed by
Francis Lachapelle
parent
4e8d3ce900
commit
9b026ebbcd
@@ -146,16 +146,19 @@
|
||||
<li>
|
||||
<span class="button"><i class="icon-hyperlink"><!-- links --></i></span>
|
||||
</li>
|
||||
<li data-ng-show="!addressbook.isRemote">
|
||||
<li data-ng-hide="addressbook.isRemote">
|
||||
<span class="button" data-ng-click="edit()"><i class="icon-pencil"><!-- rename --></i></span>
|
||||
</li>
|
||||
<li data-ng-show="!addressbook.isRemote">
|
||||
<span class="button" data-ng-click="share()"><i class="icon-earth"><!-- share --></i></span>
|
||||
<li data-ng-hide="addressbook.isRemote">
|
||||
<span class="button" data-ng-click="share()"><i class="icon-share"><!-- share --></i></span>
|
||||
</li>
|
||||
<li data-ng-show="!addressbook.isRemote">
|
||||
<li data-ng-hide="addressbook.isRemote">
|
||||
<span class="button" data-ng-click="importCards()"><i class="icon-file"><!-- import --></i></span>
|
||||
</li>
|
||||
<li data-ng-show="!addressbook.isRemote">
|
||||
<li data-ng-hide="addressbook.isRemote">
|
||||
<span class="button" data-ng-click="exportCards()"><i class="icon-ion-ios7-upload-outline"><!-- export --></i></span>
|
||||
</li>
|
||||
<li data-ng-hide="addressbook.isRemote">
|
||||
<span class="button" data-ng-click="confirmDelete(addressbook)"><i class="icon-trash"><!-- delete --></i></span>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@@ -174,6 +174,10 @@
|
||||
});
|
||||
};
|
||||
$scope.importCards = function() {
|
||||
|
||||
};
|
||||
$scope.exportCards = function() {
|
||||
window.location.href = ApplicationBaseURL + "/" + $rootScope.addressbook.id + "/exportFolder";
|
||||
};
|
||||
$scope.share = function() {
|
||||
var modal = $modal.open({
|
||||
|
||||
Reference in New Issue
Block a user