(feat) allow showing links to address books

This commit is contained in:
Ludovic Marcotte
2015-06-12 14:24:23 -04:00
committed by Francis Lachapelle
parent 942c972942
commit a89b116940
8 changed files with 83 additions and 80 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ ContactsUI_OBJC_FILES = \
UIxContactsListActions.m \
UIxContactFoldersView.m \
UIxContactFolderActions.m \
UIxContactFolderProperties.m
UIxContactFolderLinksTemplate.m
ContactsUI_RESOURCE_FILES += \
product.plist \
@@ -1,6 +1,6 @@
/* UIxContactFolderProperties.h - this file is part of SOGo
/* UIxContactFolderLinksTemplate.h - this file is part of SOGo
*
* Copyright (C) 2014 Inverse inc.
* Copyright (C) 2014-2015 Inverse inc.
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -24,12 +24,10 @@
@class SOGoContactGCSFolder;
@interface UIxContactFolderProperties : UIxComponent
@interface UIxContactFolderLinksTemplate : UIxComponent
{
SOGoContactGCSFolder *addressBook;
NSString *baseCardDAVURL, *basePublicCardDAVURL;
}
- (NSString *) addressBookName;
@end
@@ -1,6 +1,6 @@
/* UIxContactFolderProperties.m - this file is part of SOGo
/* UIxContactFolderLinksTemplate.m - this file is part of SOGo
*
* Copyright (C) 2014 Inverse inc.
* Copyright (C) 2014-2015 Inverse inc.
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -20,9 +20,9 @@
#import <SOGo/SOGoSystemDefaults.h>
#import "UIxContactFolderProperties.h"
#import "UIxContactFolderLinksTemplate.h"
@implementation UIxContactFolderProperties
@implementation UIxContactFolderLinksTemplate
- (id) init
{
@@ -43,11 +43,6 @@
[super dealloc];
}
- (NSString *) addressBookName
{
return [addressBook displayName];
}
- (NSString *) _baseCardDAVURL
{
NSString *davURL;
+2 -2
View File
@@ -132,9 +132,9 @@
pageName = "UIxContactsUserRightsEditor";
actionName = "saveUserRights";
};
properties = {
links = {
protectedBy = "View";
pageName = "UIxContactFolderProperties";
pageName = "UIxContactFolderLinksTemplate";
};
};
};