Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Sack <kde@jakobsack.de>2011-08-10 13:19:12 +0400
committerJakob Sack <kde@jakobsack.de>2011-08-10 13:19:12 +0400
commit2b59912b3dc6e26ddf21afa089aec6b79b3bf062 (patch)
tree63c0f1d4d06e0e94b7beb96206e339f278eac3ce /apps/contacts
parentc958a44e467dfc2e283efb0815ccae73f4feab87 (diff)
Add CardDAV path
Diffstat (limited to 'apps/contacts')
-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; ?>