diff --git a/htdocs/comm/fiche.php b/htdocs/comm/fiche.php
index 345609e7dec..3c38ab76be2 100644
--- a/htdocs/comm/fiche.php
+++ b/htdocs/comm/fiche.php
@@ -918,7 +918,7 @@ if ($socidp > 0)
* Listes des actions effectuees
*/
print '
';
- print '| '.$langs->trans("ActionsDone").' |
';
+ print '| '.$langs->trans("ActionsDone").' |
';
$sql = "SELECT a.id, a.label, ".$db->pdate("a.datea")." as da, c.code as acode, c.libelle, u.code, a.propalrowid, a.fk_user_author, fk_contact, u.rowid ";
$sql .= " FROM ".MAIN_DB_PREFIX."actioncomm as a, ".MAIN_DB_PREFIX."c_actioncomm as c, ".MAIN_DB_PREFIX."user as u ";
@@ -967,27 +967,30 @@ if ($socidp > 0)
print ''.strftime("%H:%M",$obj->da)." | \n";
print " | ";
- // Statut/Percent
+ // Espace
print ' | ';
- if ($obj->propalrowid)
- {
- print ''.img_object($langs->trans("ShowAction"),"task");
- $transcode=$langs->trans("Action".$obj->acode);
- $libelle=($transcode!="Action".$obj->acode?$transcode:$obj->libelle);
- print $libelle;
- print ' | ';
- }
- else
- {
- print ''.img_object($langs->trans("ShowAction"),"task");
- $transcode=$langs->trans("Action".$obj->acode);
- $libelle=($transcode!="Action".$obj->acode?$transcode:$obj->libelle);
- print $libelle;
- print ' | ';
- }
+ // Action
+ print '';
+ print ''.img_object($langs->trans("ShowTask"),"task");
+ $transcode=$langs->trans("Action".$obj->acode);
+ $libelle=($transcode!="Action".$obj->acode?$transcode:$obj->libelle);
+ print $libelle;
+ print '';
+ print ' | ';
+
+ print '';
+ if ($obj->propalrowid)
+ {
+ print ''.img_object($langs->trans("ShowPropal"),"propal");
+ print $langs->trans("Propal");
+ print '';
+ }
+ else print ' ';
+ print ' | ';
print "$obj->label | ";
+
// Contact pour cette action
if ($obj->fk_contact)
{
@@ -1000,7 +1003,7 @@ if ($socidp > 0)
print ' | ';
}
- print ''.img_object($langs->trans("ShowUser"),"user").' '.$obj->code.' | ';
+ print ''.img_object($langs->trans("ShowUser"),'user').' '.$obj->code.' | ';
print "\n";
$i++;
}