use copy icon for local link rather than link icon to prevent confusion with sharing

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
This commit is contained in:
Jan-Christoph Borchardt 2016-11-17 21:46:07 +01:00
parent 9f5d019df9
commit a32c781326
3 changed files with 5 additions and 5 deletions

View file

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

View file

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

View file

@ -17,7 +17,7 @@
.shareTabView .clipboardButton {
position: absolute;
right: -7px;
top: -3px;
top: -4px;
padding: 14px;
}