aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/templates
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2017-11-01 14:12:04 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2017-11-01 14:17:34 +0100
commit18dff925bec138afb0a717a5728caf4f63bbb593 (patch)
treeecd1e2b5ee50999fb2b5f182cf6dd634fa8fd7b1 /apps/files_sharing/templates
parentbc476682061aa54f197f96ff091373cd4ca92677 (diff)
downloadnextcloud-server-18dff925bec138afb0a717a5728caf4f63bbb593.tar.gz
nextcloud-server-18dff925bec138afb0a717a5728caf4f63bbb593.zip
Directly show link
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'apps/files_sharing/templates')
-rw-r--r--apps/files_sharing/templates/public.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php
index eb721f8eedf..beeefe13cbd 100644
--- a/apps/files_sharing/templates/public.php
+++ b/apps/files_sharing/templates/public.php
@@ -59,10 +59,10 @@ $maxUploadFilesize = min($upload_max_filesize, $post_max_size);
</a>
</li>
<li>
- <a href="#">
+ <a href="#" id="directLink-container">
<span class="icon icon-public"></span>
<label for="directLink"><?php p($l->t('Direct link')) ?></label>
- <input id="directLink" class="hidden" type="text" readonly value="<?php p($_['downloadURL']); ?>">
+ <input id="directLink" type="text" readonly value="<?php p($_['previewURL']); ?>">
</a>
</li>
<?php if ($_['server2serversharing']) { ?>