summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/templates
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-09-03 11:28:14 +0200
committerLukas Reschke <lukas@owncloud.com>2015-09-03 11:57:48 +0200
commitac7d2efbe3dd03cee38a1f247ce56461dc1f74cb (patch)
treebcc1d73b87713f02e3fc104c67d8d1c0bb725f34 /apps/files_sharing/templates
parentc4096767ccf6a88422a474e786b8e4a398ede84e (diff)
downloadnextcloud-server-ac7d2efbe3dd03cee38a1f247ce56461dc1f74cb.tar.gz
nextcloud-server-ac7d2efbe3dd03cee38a1f247ce56461dc1f74cb.zip
Collapse HTML code for federated code
Diffstat (limited to 'apps/files_sharing/templates')
-rw-r--r--apps/files_sharing/templates/settings-personal.php11
1 files changed, 6 insertions, 5 deletions
diff --git a/apps/files_sharing/templates/settings-personal.php b/apps/files_sharing/templates/settings-personal.php
index ae6b909df7e..1b93084e547 100644
--- a/apps/files_sharing/templates/settings-personal.php
+++ b/apps/files_sharing/templates/settings-personal.php
@@ -46,13 +46,13 @@ if ($_['showShareIT']) {
data-url='https://plus.google.com/share?url=<?php p(urlencode($_['reference'])); ?>'/>
Google+
</button>
+ <button id="oca-files-sharing-add-to-your-website">
+ <?php p($l->t('Add to your website')) ?>
+ </button>
</p>
- <br>
-
- <p>
- <?php p($l->t('Add it to your website:')); ?>
-
+ <div class="hidden" id="oca-files-sharing-add-to-your-website-expanded">
+ <p style="margin: 10px 0">
<a target="_blank" href="<?php p($_['reference']); ?>"
style="padding:10px;background-color:#1d2d44;color:#fff;border-radius:3px;padding-left:4px;">
<img src="<?php p($_['owncloud_logo_path']); ?>"
@@ -71,6 +71,7 @@ if ($_['showShareIT']) {
</a></xmp>
</p>
+ </div>
<?php } ?>
</div>