diff --git a/htdocs/comm/action/document.php b/htdocs/comm/action/document.php
index bdb8990ca24..0d0a6f04c95 100755
--- a/htdocs/comm/action/document.php
+++ b/htdocs/comm/action/document.php
@@ -127,20 +127,31 @@ if ($_GET["id"] > 0)
// Affichage fiche action en mode visu
print '
| '.$langs->trans("Ref").' | '.$act->id.' | ';
- print '| '.$langs->trans("Type").' | '.$act->type.' |
';
- print '| '.$langs->trans("Title").' | '.$act->label.' |
';
- print '| '.$langs->trans("Company").' | '.$act->societe->getNomUrl(1).' | ';
- print ''.$langs->trans("Contact").' | ';
- print '';
- if ($act->contact->id) print ''.img_object($langs->trans("ShowContact"),'contact').' '.$act->contact->fullname.'';
- else print $langs->trans("None");
- print ' |
';
-
- // Auteur
- print '| '.$langs->trans("Author").' | ';
- print ''.img_object($langs->trans("ShowUser"),'user').' '.$act->author->fullname.' |
';
+ // Ref
+ print '| '.$langs->trans("Ref").' | '.$act->id.' |
';
+
+ // Type
+ print '| '.$langs->trans("Type").' | '.$act->type.' |
';
+
+ // Libelle
+ print '| '.$langs->trans("Title").' | '.$act->label.' |
';
+
+ // Societe - contact
+ print '| '.$langs->trans("Company").' | '.$act->societe->getNomUrl(1).' | ';
+ print ''.$langs->trans("Contact").' | ';
+ print '';
+ if ($act->contact->id > 0)
+ {
+ print $act->contact->getNomUrl(1);
+ }
+ else
+ {
+ print $langs->trans("None");
+ }
+
+ print ' |
';
+
// Construit liste des fichiers
clearstatcache();
diff --git a/htdocs/comm/action/fiche.php b/htdocs/comm/action/fiche.php
index ff5c8b039d1..17e6f1d67eb 100644
--- a/htdocs/comm/action/fiche.php
+++ b/htdocs/comm/action/fiche.php
@@ -637,16 +637,23 @@ if ($_GET["id"])
{
// Affichage fiche action en mode visu
print '';
+
+ // Ref
print '| '.$langs->trans("Ref").' | '.$act->id.' |
';
+
+ // Type
print '| '.$langs->trans("Type").' | '.$act->type.' |
';
+
+ // Libelle
print '| '.$langs->trans("Title").' | '.$act->label.' |
';
+
+ // Societe - contact
print '| '.$langs->trans("Company").' | '.$act->societe->getNomUrl(1).' | ';
print ''.$langs->trans("Contact").' | ';
print '';
-
if ($act->contact->id > 0)
{
- print ''.img_object($langs->trans("ShowContact"),'contact').' '.$act->contact->fullname.'';
+ print $act->contact->getNomUrl(1);
}
else
{
|