[Pkg-owncloud-commits] [owncloud] 76/273: drop unneeded code

David Prévot taffit at moszumanska.debian.org
Fri Jul 4 03:13:00 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 d9aa8c9f0ed733fa4f13d04a25f821c3d7d69eba
Author: Morris Jobke <hey at morrisjobke.de>
Date:   Fri Jun 27 00:30:14 2014 +0200

    drop unneeded code
---
 apps/files_sharing/css/public.css       | 14 --------------
 apps/files_sharing/js/public.js         |  1 -
 apps/files_sharing/templates/public.php |  2 +-
 3 files changed, 1 insertion(+), 16 deletions(-)

diff --git a/apps/files_sharing/css/public.css b/apps/files_sharing/css/public.css
index 31c3bca..ddd9d10 100644
--- a/apps/files_sharing/css/public.css
+++ b/apps/files_sharing/css/public.css
@@ -88,20 +88,6 @@ thead {
 	max-width: 90%;
 }
 
-.header-right {
-	transition: opacity 500ms ease 0s;
-	-moz-transition: opacity 500ms ease 0s;
-	-ms-transition: opacity 500ms ease 0s;
-	-o-transition: opacity 500ms ease 0s;
-	-webkit-transition: opacity 500ms ease 0s;
-}
-
-.header-right:hover, .header-right.active {
-	opacity: 1;
-	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
-	filter: alpha(opacity=100);
-}
-
 /* within #save */
 #remote_address {
 	margin: 0;
diff --git a/apps/files_sharing/js/public.js b/apps/files_sharing/js/public.js
index 1d633a6..d434877 100644
--- a/apps/files_sharing/js/public.js
+++ b/apps/files_sharing/js/public.js
@@ -161,7 +161,6 @@ OCA.Sharing.PublicApp = {
 
 		$('#save > button').click(function () {
 			$(this).hide();
-			$('.header-right').addClass('active');
 			$('.save-form').css('display', 'inline');
 			$('#remote_address').focus();
 		});
diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php
index c053aaa..65e620a 100644
--- a/apps/files_sharing/templates/public.php
+++ b/apps/files_sharing/templates/public.php
@@ -17,7 +17,7 @@
 		<div class="header-right">
 			<span id="details">
 				<span id="save" data-protected="<?php p($_['protected'])?>" data-owner="<?php p($_['displayName'])?>" data-name="<?php p($_['filename'])?>">
-					<button><?php p($l->t('Save to ownCloud')) ?></button>
+					<button><?php p($l->t('Add to your ownCloud')) ?></button>
 					<form class="save-form hidden" action="#">
 						<input type="text" id="remote_address" placeholder="<?php p($l->t('example.com/owncloud')) ?>"/>
 						<input type="submit" value="<?php p($l->t('Save')) ?>"/>

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