From 2b59912b3dc6e26ddf21afa089aec6b79b3bf062 Mon Sep 17 00:00:00 2001 From: Jakob Sack <kde@jakobsack.de> Date: Wed, 10 Aug 2011 11:19:12 +0200 Subject: [PATCH] Add CardDAV path --- apps/contacts/templates/index.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/contacts/templates/index.php b/apps/contacts/templates/index.php index 5f61ec1078..ea76621674 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; ?> -- GitLab