[Pkg-owncloud-commits] [owncloud] 237/273: hide text of download button, only show icon

David Prévot taffit at moszumanska.debian.org
Fri Jul 4 03:13:21 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 560c53087574d3697ed12c28a75aaa7cfe11c518
Author: Jan-Christoph Borchardt <hey at jancborchardt.net>
Date:   Wed Jul 2 23:21:06 2014 +0200

    hide text of download button, only show icon
---
 apps/files_sharing/css/mobile.css       | 5 +++++
 apps/files_sharing/templates/public.php | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/apps/files_sharing/css/mobile.css b/apps/files_sharing/css/mobile.css
index 333c4c7..2a630f5 100644
--- a/apps/files_sharing/css/mobile.css
+++ b/apps/files_sharing/css/mobile.css
@@ -5,6 +5,11 @@
 	position: absolute !important;
 }
 
+/* hide text of download button, only show icon */
+#download-text {
+	display: none;
+}
+
 /* hide size and date columns */
 table th#headerSize,
 table td.filesize,
diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php
index 65e620a..88f56c1 100644
--- a/apps/files_sharing/templates/public.php
+++ b/apps/files_sharing/templates/public.php
@@ -25,7 +25,7 @@
 				</span>
 				<a href="<?php p($_['downloadURL']); ?>" id="download" class="button">
 					<img class="svg" alt="" src="<?php print_unescaped(OCP\image_path("core", "actions/download.svg")); ?>"/>
-					<?php p($l->t('Download'))?>
+					<span id="download-text"><?php p($l->t('Download'))?></span>
 				</a>
 			</span>
 		</div>

-- 
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