зеркало из https://github.com/nextcloud/server.git
Display "Share" alt text for share action icon (#26158)
Downstreaming of https://github.com/owncloud/core/pull/26158 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
Родитель
9e91a76b30
Коммит
f07d146644
|
@ -141,6 +141,7 @@
|
|||
fileActions.registerAction({
|
||||
name: 'Share',
|
||||
displayName: '',
|
||||
altText: t('core', 'Share'),
|
||||
mime: 'all',
|
||||
permissions: OC.PERMISSION_ALL,
|
||||
iconClass: 'icon-share',
|
||||
|
|
|
@ -306,7 +306,7 @@ OC.Share = _.extend(OC.Share || {}, {
|
|||
}
|
||||
}
|
||||
else {
|
||||
action.html('<span></span>').prepend(icon);
|
||||
action.html('<span class="hidden-visually">' + t('core', 'Shared') + '</span>').prepend(icon);
|
||||
}
|
||||
if (hasLink) {
|
||||
iconClass = 'icon-public';
|
||||
|
|
Загрузка…
Ссылка в новой задаче