[Pkg-owncloud-commits] [owncloud] 22/58: remove duplicate ID in HTML template for public shares
David Prévot
taffit at moszumanska.debian.org
Tue Aug 11 15:58:05 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag v8.0.6
in repository owncloud.
commit 4ec2e6c3576dbbd70472f958a79c159c75a238fe
Author: Morris Jobke <hey at morrisjobke.de>
Date: Thu Jun 25 10:13:56 2015 +0200
remove duplicate ID in HTML template for public shares
---
apps/files_sharing/css/public.css | 2 +-
apps/files_sharing/templates/public.php | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/apps/files_sharing/css/public.css b/apps/files_sharing/css/public.css
index ef013ca..cb64982 100644
--- a/apps/files_sharing/css/public.css
+++ b/apps/files_sharing/css/public.css
@@ -51,7 +51,7 @@ thead {
}
/* keep long file names in one line to not overflow download button on mobile */
-.directDownload #download {
+.directDownload #downloadFile {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php
index a1c901f..e04643b 100644
--- a/apps/files_sharing/templates/public.php
+++ b/apps/files_sharing/templates/public.php
@@ -91,7 +91,7 @@ $previewSupported = OC\Preview::isMimeSupported($_['mimetype']) ? 'true' : 'fals
<div id="imgframe"></div>
<?php endif; ?>
<div class="directDownload">
- <a href="<?php p($_['downloadURL']); ?>" id="download" class="button">
+ <a href="<?php p($_['downloadURL']); ?>" id="downloadFile" class="button">
<img class="svg" alt="" src="<?php print_unescaped(OCP\image_path("core", "actions/download.svg")); ?>"/>
<?php p($l->t('Download %s', array($_['filename'])))?> (<?php p($_['fileSize']) ?>)
</a>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list