]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add CardDAV path
authorJakob Sack <kde@jakobsack.de>
Wed, 10 Aug 2011 09:19:12 +0000 (11:19 +0200)
committerJakob Sack <kde@jakobsack.de>
Wed, 10 Aug 2011 09:19:12 +0000 (11:19 +0200)
apps/contacts/templates/index.php

index 5f61ec1078db114acf19765989479ebdca34d7fb..ea76621674aafb1b6fa7fd283bd936ee524c9c89 100644 (file)
@@ -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; ?>