Fix css
This commit is contained in:
parent
83d931f3c7
commit
5da40d80f7
@ -7492,7 +7492,7 @@ abstract class CommonObject
|
|||||||
|
|
||||||
if ($display_type == 'card') {
|
if ($display_type == 'card') {
|
||||||
$out .= '<tr '.($html_id ? 'id="'.$html_id.'" ' : '').$csstyle.' class="valuefieldcreate '.$class.$this->element.'_extras_'.$key.' trextrafields_collapse'.$extrafields_collapse_num.(!empty($this->id)?'_'.$this->id:'').'" '.$domData.' >';
|
$out .= '<tr '.($html_id ? 'id="'.$html_id.'" ' : '').$csstyle.' class="valuefieldcreate '.$class.$this->element.'_extras_'.$key.' trextrafields_collapse'.$extrafields_collapse_num.(!empty($this->id)?'_'.$this->id:'').'" '.$domData.' >';
|
||||||
if ( ! empty($conf->global->MAIN_VIEW_LINE_NUMBER) ) {
|
if (!empty($conf->global->MAIN_VIEW_LINE_NUMBER) && $action == 'view') {
|
||||||
$out .= '<td></td>';
|
$out .= '<td></td>';
|
||||||
}
|
}
|
||||||
$out .= '<td class="wordbreak';
|
$out .= '<td class="wordbreak';
|
||||||
|
|||||||
@ -136,7 +136,7 @@ if ($socid) {
|
|||||||
|
|
||||||
$params = '';
|
$params = '';
|
||||||
$backtopage = $_SERVER['PHP_SELF'].'?socid='.$object->id;
|
$backtopage = $_SERVER['PHP_SELF'].'?socid='.$object->id;
|
||||||
$newcardbutton = dolGetButtonTitle($langs->trans("NewProject"), '', 'fa fa-plus-circle', DOL_URL_ROOT.'/projet/card.php?action=create&socid='.$object->id.'&backtopage='.urlencode($backtopage), '', 1, $params);
|
$newcardbutton = dolGetButtonTitle($langs->trans("NewProject"), '', 'fa fa-plus-circle', DOL_URL_ROOT.'/projet/card.php?action=create&socid='.$object->id.'&backtopageforcancel='.urlencode($backtopage), '', 1, $params);
|
||||||
|
|
||||||
print '<br>';
|
print '<br>';
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user