mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
NEW Look and feel - Checkboxes and radio buttons are larger
This commit is contained in:
@@ -2523,7 +2523,10 @@ class Form
|
||||
if ($showproperties) {
|
||||
if ($ownerid == $value['id'] && is_array($listofuserid) && count($listofuserid) && in_array($ownerid, array_keys($listofuserid))) {
|
||||
$out .= '<div class="myavailability inline-block">';
|
||||
$out .= '<span class="hideonsmartphone"> - <span class="opacitymedium">' . $langs->trans("Availability") . ':</span> </span><input id="transparency" class="paddingrightonly" ' . ($action == 'view' ? 'disabled' : '') . ' type="checkbox" name="transparency"' . ($listofuserid[$ownerid]['transparency'] ? ' checked' : '') . '><label for="transparency">' . $langs->trans("Busy") . '</label>';
|
||||
$out .= '<span class="hideonsmartphone"> - ';
|
||||
//$out .= '<span class="opacitymedium">' . $langs->trans("Availability") . ':</span>';
|
||||
$out .= '</span>';
|
||||
$out .= ' <input title="'.$langs->trans("Availability").'" id="transparency" class="paddingrightonly" ' . ($action == 'view' ? 'disabled' : '') . ' type="checkbox" name="transparency"' . ($listofuserid[$ownerid]['transparency'] ? ' checked' : '') . '><label for="transparency">' . $langs->trans("Busy") . '</label>';
|
||||
$out .= '</div>';
|
||||
}
|
||||
}
|
||||
@@ -2613,7 +2616,10 @@ class Form
|
||||
if ($showproperties) {
|
||||
if (is_array($listofresourceid) && count($listofresourceid)) {
|
||||
$out .= '<div class="myavailability inline-block">';
|
||||
$out .= '<span class="hideonsmartphone"> - <span class="opacitymedium">' . $langs->trans("Availability") . ':</span> </span><input id="transparencyresource'.$value['id'].'" class="paddingrightonly" ' . ($action == 'view' ? 'disabled' : '') . ' type="checkbox" name="transparency"' . ($listofresourceid[$value['id']]['transparency'] ? ' checked' : '') . '><label for="transparencyresource'.$value['id'].'">' . $langs->trans("Busy") . '</label>';
|
||||
$out .= '<span class="hideonsmartphone"> - ';
|
||||
//$out .= '<span class="opacitymedium">' . $langs->trans("Availability") . ': </span>';
|
||||
$out .= '</span>';
|
||||
$out .= ' <input title="'.$langs->trans("Availability").'" id="transparencyresource'.$value['id'].'" class="paddingrightonly" ' . ($action == 'view' ? 'disabled' : '') . ' type="checkbox" name="transparency"' . ($listofresourceid[$value['id']]['transparency'] ? ' checked' : '') . '><label for="transparencyresource'.$value['id'].'">' . $langs->trans("Busy") . '</label>';
|
||||
$out .= '</div>';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user