Fix look and feel v9

This commit is contained in:
Laurent Destailleur 2018-12-10 12:32:26 +01:00
parent 3f912ebfff
commit 188cda7902

View File

@ -326,7 +326,7 @@ if ($id > 0 || ! empty($ref))
dol_fiche_end(); dol_fiche_end();
/* /*
* Lignes de contacts * Lines of contacts
*/ */
/* /*
// Contacts lines (modules that overwrite templates must declare this into descriptor) // Contacts lines (modules that overwrite templates must declare this into descriptor)
@ -340,16 +340,15 @@ if ($id > 0 || ! empty($ref))
/* /*
* Add a new contact line * Add a new contact line
* Non affiche en mode modification de ligne
*/ */
print '<table class="noborder" width="100%">'; print '<table class="noborder" width="100%">';
if ($action != 'editline' && $user->rights->projet->creer) if ($action != 'editline' && $user->rights->projet->creer)
{ {
print '<tr class="liste_titre">'; print '<tr class="liste_titre">';
print '<td>'.$langs->trans("Source").'</td>'; print '<td>'.$langs->trans("Nature").'</td>';
print '<td>'.$langs->trans("ThirdParty").'</td>'; print '<td>'.$langs->trans("ThirdParty").'</td>';
print '<td>'.$langs->trans("TaskContact").'</td>'; print '<td>'.$langs->trans("Users").'</td>';
print '<td>'.$langs->trans("ContactType").'</td>'; print '<td>'.$langs->trans("ContactType").'</td>';
print '<td colspan="3">&nbsp;</td>'; print '<td colspan="3">&nbsp;</td>';
print "</tr>\n"; print "</tr>\n";
@ -507,7 +506,7 @@ if ($id > 0 || ! empty($ref))
{ {
print '&nbsp;'; print '&nbsp;';
print '<a href="'.$_SERVER["PHP_SELF"].'?id='.$object->id.'&action=deleteline&lineid='.$tab[$i]['rowid'].($withproject?'&withproject=1':'').'">'; print '<a href="'.$_SERVER["PHP_SELF"].'?id='.$object->id.'&action=deleteline&lineid='.$tab[$i]['rowid'].($withproject?'&withproject=1':'').'">';
print img_delete(); print img_picto($langs->trans('Unlink'), 'unlink');
print '</a>'; print '</a>';
} }
print '</td>'; print '</td>';