summaryrefslogtreecommitdiffstats
path: root/apps/contacts/templates
diff options
context:
space:
mode:
authorJakob Sack <kde@jakobsack.de>2011-08-10 11:19:12 +0200
committerJakob Sack <kde@jakobsack.de>2011-08-10 11:19:12 +0200
commit2b59912b3dc6e26ddf21afa089aec6b79b3bf062 (patch)
tree63c0f1d4d06e0e94b7beb96206e339f278eac3ce /apps/contacts/templates
parentc958a44e467dfc2e283efb0815ccae73f4feab87 (diff)
downloadnextcloud-server-2b59912b3dc6e26ddf21afa089aec6b79b3bf062.tar.gz
nextcloud-server-2b59912b3dc6e26ddf21afa089aec6b79b3bf062.zip
Add CardDAV path
Diffstat (limited to 'apps/contacts/templates')
-rw-r--r--apps/contacts/templates/index.php3
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; ?>