summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2016-11-17 21:46:07 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2016-11-17 21:46:07 +0100
commita32c7813263414c703b6652cc13993eaf564bf6e (patch)
tree9dc873e1f7710422820b2426cb8511ae64d41c2b
parent9f5d019df9ec8f867cc2fa536da6d7b9915df84c (diff)
downloadnextcloud-server-a32c7813263414c703b6652cc13993eaf564bf6e.tar.gz
nextcloud-server-a32c7813263414c703b6652cc13993eaf564bf6e.zip
use copy icon for local link rather than link icon to prevent confusion with sharing
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
-rw-r--r--apps/files/css/detailsView.css4
-rw-r--r--apps/files/js/mainfileinfodetailview.js4
-rw-r--r--apps/files_sharing/css/sharetabview.css2
3 files changed, 5 insertions, 5 deletions
diff --git a/apps/files/css/detailsView.css b/apps/files/css/detailsView.css
index 2ec16993ef5..ec08a5d5a6f 100644
--- a/apps/files/css/detailsView.css
+++ b/apps/files/css/detailsView.css
@@ -19,8 +19,8 @@
}
#app-sidebar .mainFileInfoView .permalink {
- margin-left: 10px;
- opacity: .5;
+ padding: 6px 10px;
+ vertical-align: text-top;
}
#app-sidebar .mainFileInfoView .permalink-field>input {
clear: both;
diff --git a/apps/files/js/mainfileinfodetailview.js b/apps/files/js/mainfileinfodetailview.js
index 20cedcf4e82..e9259f75ba1 100644
--- a/apps/files/js/mainfileinfodetailview.js
+++ b/apps/files/js/mainfileinfodetailview.js
@@ -15,7 +15,7 @@
'<div class="fileName">' +
'<h3 title="{{name}}" class="ellipsis">{{name}}</h3>' +
'<a class="permalink" href="{{permalink}}" title="{{permalinkTitle}}">' +
- '<span class="icon icon-public"></span>' +
+ '<span class="icon icon-clippy"></span>' +
'<span class="hidden-visually">{{permalinkTitle}}</span>' +
'</a>' +
'</div>' +
@@ -157,7 +157,7 @@
starAltText: isFavorite ? t('files', 'Favorited') : t('files', 'Favorite'),
starIcon: OC.imagePath('core', isFavorite ? 'actions/starred' : 'actions/star'),
permalink: this._makePermalink(this.model.get('id')),
- permalinkTitle: t('files', 'Local link')
+ permalinkTitle: t('files', 'Copy local link')
}));
// TODO: we really need OC.Previews
diff --git a/apps/files_sharing/css/sharetabview.css b/apps/files_sharing/css/sharetabview.css
index 13152d5f7b5..6ac6dff0a66 100644
--- a/apps/files_sharing/css/sharetabview.css
+++ b/apps/files_sharing/css/sharetabview.css
@@ -17,7 +17,7 @@
.shareTabView .clipboardButton {
position: absolute;
right: -7px;
- top: -3px;
+ top: -4px;
padding: 14px;
}