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:
parent
9f5d019df9
commit
a32c781326
3 changed files with 5 additions and 5 deletions
|
@ -19,8 +19,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#app-sidebar .mainFileInfoView .permalink {
|
#app-sidebar .mainFileInfoView .permalink {
|
||||||
margin-left: 10px;
|
padding: 6px 10px;
|
||||||
opacity: .5;
|
vertical-align: text-top;
|
||||||
}
|
}
|
||||||
#app-sidebar .mainFileInfoView .permalink-field>input {
|
#app-sidebar .mainFileInfoView .permalink-field>input {
|
||||||
clear: both;
|
clear: both;
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
'<div class="fileName">' +
|
'<div class="fileName">' +
|
||||||
'<h3 title="{{name}}" class="ellipsis">{{name}}</h3>' +
|
'<h3 title="{{name}}" class="ellipsis">{{name}}</h3>' +
|
||||||
'<a class="permalink" href="{{permalink}}" title="{{permalinkTitle}}">' +
|
'<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>' +
|
'<span class="hidden-visually">{{permalinkTitle}}</span>' +
|
||||||
'</a>' +
|
'</a>' +
|
||||||
'</div>' +
|
'</div>' +
|
||||||
|
@ -157,7 +157,7 @@
|
||||||
starAltText: isFavorite ? t('files', 'Favorited') : t('files', 'Favorite'),
|
starAltText: isFavorite ? t('files', 'Favorited') : t('files', 'Favorite'),
|
||||||
starIcon: OC.imagePath('core', isFavorite ? 'actions/starred' : 'actions/star'),
|
starIcon: OC.imagePath('core', isFavorite ? 'actions/starred' : 'actions/star'),
|
||||||
permalink: this._makePermalink(this.model.get('id')),
|
permalink: this._makePermalink(this.model.get('id')),
|
||||||
permalinkTitle: t('files', 'Local link')
|
permalinkTitle: t('files', 'Copy local link')
|
||||||
}));
|
}));
|
||||||
|
|
||||||
// TODO: we really need OC.Previews
|
// TODO: we really need OC.Previews
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
.shareTabView .clipboardButton {
|
.shareTabView .clipboardButton {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: -7px;
|
right: -7px;
|
||||||
top: -3px;
|
top: -4px;
|
||||||
padding: 14px;
|
padding: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue