Change wording of 'Copy URL' to more understandable 'Copy link'
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
This commit is contained in:
parent
e4f3098492
commit
9b8e884b19
|
@ -406,7 +406,7 @@
|
||||||
permissions: permissions
|
permissions: permissions
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
showNoteForm: function(event) {
|
showNoteForm: function(event) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
|
@ -431,9 +431,9 @@
|
||||||
var shareId = $li.data('share-id');
|
var shareId = $li.data('share-id');
|
||||||
var $menu = $element.closest('li');
|
var $menu = $element.closest('li');
|
||||||
var $form = $menu.next('li.share-note-form');
|
var $form = $menu.next('li.share-note-form');
|
||||||
|
|
||||||
$form.find('.share-note').val('');
|
$form.find('.share-note').val('');
|
||||||
|
|
||||||
$form.addClass('hidden');
|
$form.addClass('hidden');
|
||||||
$menu.find('.share-note-delete').hide();
|
$menu.find('.share-note-delete').hide();
|
||||||
|
|
||||||
|
@ -600,7 +600,7 @@
|
||||||
|
|
||||||
var popover = this.popoverMenuTemplate({
|
var popover = this.popoverMenuTemplate({
|
||||||
cid: this.model.get('linkShare').id,
|
cid: this.model.get('linkShare').id,
|
||||||
copyLabel: t('core', 'Copy URL'),
|
copyLabel: t('core', 'Copy link'),
|
||||||
social: social,
|
social: social,
|
||||||
|
|
||||||
shareLinkURL: this.model.get('linkShare').link,
|
shareLinkURL: this.model.get('linkShare').link,
|
||||||
|
@ -745,7 +745,7 @@
|
||||||
var datePicker = $(expirationDatePicker);
|
var datePicker = $(expirationDatePicker);
|
||||||
var state = $element.prop('checked');
|
var state = $element.prop('checked');
|
||||||
datePicker.toggleClass('hidden', !state);
|
datePicker.toggleClass('hidden', !state);
|
||||||
|
|
||||||
if (!state) {
|
if (!state) {
|
||||||
// disabled, let's hide the input and
|
// disabled, let's hide the input and
|
||||||
// set the expireDate to nothing
|
// set the expireDate to nothing
|
||||||
|
|
|
@ -227,9 +227,9 @@ class FilesAppContext implements Context, ActorAwareInterface {
|
||||||
* @return Locator
|
* @return Locator
|
||||||
*/
|
*/
|
||||||
public static function copyUrlMenuItem() {
|
public static function copyUrlMenuItem() {
|
||||||
return Locator::forThe()->xpath("//a[normalize-space() = 'Copy URL']")->
|
return Locator::forThe()->xpath("//a[normalize-space() = 'Copy link']")->
|
||||||
descendantOf(self::shareLinkMenu())->
|
descendantOf(self::shareLinkMenu())->
|
||||||
describedAs("Copy URL menu item in the share link menu in the details view in Files app");
|
describedAs("Copy link menu item in the share link menu in the details view in Files app");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue