diff options
author | Jakob Sack <kde@jakobsack.de> | 2011-08-10 11:19:12 +0200 |
---|---|---|
committer | Jakob Sack <kde@jakobsack.de> | 2011-08-10 11:19:12 +0200 |
commit | 2b59912b3dc6e26ddf21afa089aec6b79b3bf062 (patch) | |
tree | 63c0f1d4d06e0e94b7beb96206e339f278eac3ce /apps/contacts/templates | |
parent | c958a44e467dfc2e283efb0815ccae73f4feab87 (diff) | |
download | nextcloud-server-2b59912b3dc6e26ddf21afa089aec6b79b3bf062.tar.gz nextcloud-server-2b59912b3dc6e26ddf21afa089aec6b79b3bf062.zip |
Add CardDAV path
Diffstat (limited to 'apps/contacts/templates')
-rw-r--r-- | apps/contacts/templates/index.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/contacts/templates/index.php b/apps/contacts/templates/index.php index 5f61ec1078d..ea76621674a 100644 --- a/apps/contacts/templates/index.php +++ b/apps/contacts/templates/index.php @@ -12,3 +12,6 @@ OC_Util::addStyle('contacts','styles'); <div id="contacts_details" class="rightcontent" data-id="<?php echo $_['id']; ?>"> <?php echo $this->inc("part.details"); ?> </div> +<?php if(count($_['addressbooks']) == 1 ): ?> + <?php echo $l->t('The path to this addressbook is %s', array(OC::$WEBROOT.'/apps/contacts/carddav.php/addressbooks/'.$_['addressbooks'][0]['uri'])); ?> +<?php endif; ?> |