Fix look and feel v6
This commit is contained in:
parent
a8e16910c0
commit
6ab47a845e
@ -405,8 +405,6 @@ if ($resql)
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$actionstatic->id=$obj->id;
|
$actionstatic->id=$obj->id;
|
||||||
$actionstatic->ref=$obj->id;
|
$actionstatic->ref=$obj->id;
|
||||||
$actionstatic->type_code=$obj->type_code;
|
$actionstatic->type_code=$obj->type_code;
|
||||||
|
|||||||
@ -210,11 +210,22 @@ class FormActions
|
|||||||
$ref=$action->getNomUrl(1,-1);
|
$ref=$action->getNomUrl(1,-1);
|
||||||
$label=$action->getNomUrl(0,38);
|
$label=$action->getNomUrl(0,38);
|
||||||
|
|
||||||
|
|
||||||
print '<tr class="oddeven">';
|
print '<tr class="oddeven">';
|
||||||
print '<td>'.$ref.'</td>';
|
print '<td>'.$ref.'</td>';
|
||||||
print '<td>'.$label.'</td>';
|
print '<td>'.$label.'</td>';
|
||||||
print '<td>'.$action->type.'</td>';
|
print '<td>';
|
||||||
|
if (! empty($conf->global->AGENDA_USE_EVENT_TYPE))
|
||||||
|
{
|
||||||
|
if ($action->type_picto) print img_picto('', $action->type_picto);
|
||||||
|
else {
|
||||||
|
if ($action->type_code == 'AC_RDV') print img_picto('', 'object_group').' ';
|
||||||
|
if ($action->type_code == 'AC_TEL') print img_picto('', 'object_phoning').' ';
|
||||||
|
if ($action->type_code == 'AC_FAX') print img_picto('', 'object_phoning_fax').' ';
|
||||||
|
if ($action->type_code == 'AC_EMAIL') print img_picto('', 'object_email').' ';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
print $action->type;
|
||||||
|
print '</td>';
|
||||||
print '<td>'.dol_print_date($action->datep,'dayhour');
|
print '<td>'.dol_print_date($action->datep,'dayhour');
|
||||||
if ($action->datef)
|
if ($action->datef)
|
||||||
{
|
{
|
||||||
@ -233,7 +244,7 @@ class FormActions
|
|||||||
$userstatic->id = $action->author->id;
|
$userstatic->id = $action->author->id;
|
||||||
$userstatic->firstname = $action->author->firstname;
|
$userstatic->firstname = $action->author->firstname;
|
||||||
$userstatic->lastname = $action->author->lastname;
|
$userstatic->lastname = $action->author->lastname;
|
||||||
print $userstatic->getNomUrl(1);
|
print $userstatic->getNomUrl(1, '', 0, 0, 16, 0, '', '');
|
||||||
}
|
}
|
||||||
print '</td>';
|
print '</td>';
|
||||||
print '<td align="right">';
|
print '<td align="right">';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user