Merge pull request #23630 from nextcloud/bugfix/23240/bring-back-restore-share-button

Bring back the restore share button
This commit is contained in:
Morris Jobke 2020-10-22 20:56:40 +02:00 committed by GitHub
commit 59cefdd5ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 3 deletions

View File

@ -539,6 +539,23 @@ table td.selection {
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 {
height: 16px;
width: 16px;

View File

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