Fix style of add folder button based on rights

This commit is contained in:
Tobias Sekan 2019-12-02 13:02:16 +01:00 committed by GitHub
parent 0a3614adbf
commit d7a8fb98fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,7 +81,7 @@ if ($permtoadd)
else
{
print '<a href="#" class="inline-block valignmiddle toolbarbutton" title="'.$langs->trans("NotAllowed").'">';
print '<img class="toolbarbutton" border="0" src="'.DOL_URL_ROOT.'/theme/common/folder-new.png">';
print '<img class="toolbarbutton" border="0" src="'.DOL_URL_ROOT.'/theme/common/folder-new.png" style="-webkit-filter: opacity(20%);filter: opacity(20%);cursor: not-allowed;">';
print '</a>';
}
if ($module == 'ecm')