Adds copy tooltip to clipboards
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
571c5aac5e
commit
f7c637071a
3 changed files with 5 additions and 4 deletions
|
@ -12,7 +12,7 @@ style('federatedfilesharing', 'settings-personal');
|
|||
<p>
|
||||
<?php p($l->t('Your Federated Cloud ID:')); ?>
|
||||
<strong id="cloudid"><?php p($_['cloudId']); ?></strong>
|
||||
<a class="clipboardButton icon icon-clippy" data-clipboard-target="#cloudid"></a>
|
||||
<a class="clipboardButton icon icon-clippy hasTooltip" data-clipboard-target="#cloudid" title="<?php p($l->t('Copy')); ?>"></a>
|
||||
</p>
|
||||
|
||||
<br>
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
'<div class="oneline">' +
|
||||
'<label for="linkText-{{cid}}" class="hidden-visually">{{urlLabel}}</label>' +
|
||||
'<input id="linkText-{{cid}}" class="linkText {{#unless isLinkShare}}hidden{{/unless}}" type="text" readonly="readonly" value="{{shareLinkURL}}" />' +
|
||||
'<a class="{{#unless isLinkShare}}hidden-visually{{/unless}} clipboardButton icon icon-clippy" data-clipboard-target="#linkText-{{cid}}"></a>' +
|
||||
'<a class="{{#unless isLinkShare}}hidden-visually{{/unless}} clipboardButton icon icon-clippy hasTooltip" title="{{copy}}" data-clipboard-target="#linkText-{{cid}}"></a>' +
|
||||
'</div>' +
|
||||
' {{#if publicUpload}}' +
|
||||
'<div id="allowPublicUploadWrapper">' +
|
||||
|
@ -333,7 +333,8 @@
|
|||
publicUploadLabel: t('core', 'Allow upload and editing'),
|
||||
hideFileListLabel: t('core', 'Hide file listing'),
|
||||
mailPrivatePlaceholder: t('core', 'Email link to person'),
|
||||
mailButtonText: t('core', 'Send')
|
||||
mailButtonText: t('core', 'Send'),
|
||||
copy: t('core', 'Copy')
|
||||
}));
|
||||
|
||||
this.delegateEvents();
|
||||
|
|
|
@ -241,7 +241,7 @@ if($_['passwordChangeSupported']) {
|
|||
<div class="app-password-row">
|
||||
<span class="app-password-label"><?php p($l->t('Password')); ?></span>
|
||||
<input id="new-app-password" type="text" readonly="readonly"/>
|
||||
<a class="clipboardButton icon icon-clippy" data-clipboard-target="#new-app-password"></a>
|
||||
<a class="clipboardButton icon icon-clippy hasTooltip" data-clipboard-target="#new-app-password" title="<?php p($l->t('Copy')); ?>"></a>
|
||||
<button id="app-password-hide" class="button"><?php p($l->t('Done')); ?></button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue