mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-19 13:43:22 +00:00
(feat) allow showing links to address books
This commit is contained in:
committed by
Francis Lachapelle
parent
942c972942
commit
a89b116940
@@ -23,7 +23,7 @@ ContactsUI_OBJC_FILES = \
|
||||
UIxContactsListActions.m \
|
||||
UIxContactFoldersView.m \
|
||||
UIxContactFolderActions.m \
|
||||
UIxContactFolderProperties.m
|
||||
UIxContactFolderLinksTemplate.m
|
||||
|
||||
ContactsUI_RESOURCE_FILES += \
|
||||
product.plist \
|
||||
|
||||
+3
-5
@@ -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
|
||||
+4
-9
@@ -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;
|
||||
@@ -132,9 +132,9 @@
|
||||
pageName = "UIxContactsUserRightsEditor";
|
||||
actionName = "saveUserRights";
|
||||
};
|
||||
properties = {
|
||||
links = {
|
||||
protectedBy = "View";
|
||||
pageName = "UIxContactFolderProperties";
|
||||
pageName = "UIxContactFolderLinksTemplate";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user