Merge pull request #23637 from nextcloud/backport/23630/stable19

[stable19] Bring back the restore share button
This commit is contained in:
Morris Jobke 2020-10-23 13:58:18 +02:00 committed by GitHub
commit 50e532047e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 3 deletions

View File

@ -538,6 +538,23 @@ table td.selection {
cursor: default !important; cursor: default !important;
} }
/*
* Make the disabled link look not like a link in file list rows
*/
#fileList a.name.disabled {
* {
cursor: default;
}
a, a * {
cursor: pointer;
}
&:focus {
background: none;
}
}
a.action > img { a.action > img {
height: 16px; height: 16px;
width: 16px; width: 16px;

View File

@ -1561,9 +1561,7 @@
"href": linkUrl "href": linkUrl
}); });
if (this._defaultFileActionsDisabled) { if (this._defaultFileActionsDisabled) {
linkElem = $('<p></p>').attr({ linkElem.addClass('disabled');
"class": "name"
})
} }
linkElem.append('<div class="thumbnail-wrapper"><div class="thumbnail" style="background-image:url(' + icon + ');"></div></div>'); linkElem.append('<div class="thumbnail-wrapper"><div class="thumbnail" style="background-image:url(' + icon + ');"></div></div>');