add hint in Share placeholder on remote share syntax
This commit is contained in:
parent
b95139e5b2
commit
d32e3870d2
1 changed files with 6 additions and 1 deletions
|
@ -391,8 +391,13 @@ OC.Share={
|
|||
}
|
||||
});
|
||||
|
||||
var sharePlaceholder = t('core', 'Share with users or groups …');
|
||||
if(oc_appconfig.core.remoteShareAllowed) {
|
||||
sharePlaceholder = t('core', 'Share with users, groups or remote (user@domain) …');
|
||||
}
|
||||
|
||||
html += '<label for="shareWith" class="hidden-visually">'+t('core', 'Share')+'</label>';
|
||||
html += '<input id="shareWith" type="text" placeholder="'+t('core', 'Share with user or group …')+'" />';
|
||||
html += '<input id="shareWith" type="text" placeholder="' + sharePlaceholder + '" />';
|
||||
html += '<span class="shareWithLoading icon-loading-small hidden"></span>';
|
||||
html += '<ul id="shareWithList">';
|
||||
html += '</ul>';
|
||||
|
|
Loading…
Reference in a new issue