diff --git a/htdocs/commande/note.php b/htdocs/commande/note.php
index 6f3519e9ced..e6bf504bec7 100644
--- a/htdocs/commande/note.php
+++ b/htdocs/commande/note.php
@@ -105,6 +105,7 @@ if ($id > 0 || ! empty($ref))
print '
';
+ $cssclass="titlefield";
include DOL_DOCUMENT_ROOT.'/core/tpl/notes.tpl.php';
print '';
diff --git a/htdocs/core/lib/project.lib.php b/htdocs/core/lib/project.lib.php
index 87ef87cfe64..3aa000256ed 100644
--- a/htdocs/core/lib/project.lib.php
+++ b/htdocs/core/lib/project.lib.php
@@ -44,8 +44,10 @@ function project_prepare_head($object)
$head[$h][2] = 'project';
$h++;
+ $nbContact = count($object->liste_contact(-1,'internal')) + count($object->liste_contact(-1,'external'));
$head[$h][0] = DOL_URL_ROOT.'/projet/contact.php?id='.$object->id;
$head[$h][1] = $langs->trans("ProjectContact");
+ if ($nbContact > 0) $head[$h][1].= ' '.$nbContact.'';
$head[$h][2] = 'contact';
$h++;
@@ -131,8 +133,10 @@ function task_prepare_head($object)
$head[$h][2] = 'task_task';
$h++;
+ $nbContact = count($object->liste_contact(-1,'internal')) + count($object->liste_contact(-1,'external'));
$head[$h][0] = DOL_URL_ROOT.'/projet/tasks/contact.php?id='.$object->id.(GETPOST('withproject')?'&withproject=1':'');
$head[$h][1] = $langs->trans("TaskRessourceLinks");
+ if ($nbContact > 0) $head[$h][1].= ' '.$nbContact.'';
$head[$h][2] = 'task_contact';
$h++;
diff --git a/htdocs/core/tpl/notes.tpl.php b/htdocs/core/tpl/notes.tpl.php
index c68aa599310..61832720d0e 100644
--- a/htdocs/core/tpl/notes.tpl.php
+++ b/htdocs/core/tpl/notes.tpl.php
@@ -17,6 +17,7 @@
* along with this program. If not, see
| '.$langs->trans("Ref").' | '; +print ' | ||||||
| '.$langs->trans("Ref").' | '; // Define a complementary filter for search of next/prev ref. if (! $user->rights->projet->all->lire) { diff --git a/htdocs/projet/ganttview.php b/htdocs/projet/ganttview.php index 822489b643a..498db12ddc6 100644 --- a/htdocs/projet/ganttview.php +++ b/htdocs/projet/ganttview.php @@ -103,7 +103,7 @@ if ($id > 0 || ! empty($ref)) $linkback = ''.$langs->trans("BackToList").''; // Ref - print ' | ||||||
| '; + print ' | |||||||
| '; print $langs->trans("Ref"); print ' | '; // Define a complementary filter for search of next/prev ref. diff --git a/htdocs/projet/note.php b/htdocs/projet/note.php index 47423491930..ef4be16f51e 100644 --- a/htdocs/projet/note.php +++ b/htdocs/projet/note.php @@ -84,7 +84,7 @@ if ($id > 0 || ! empty($ref)) $linkback = ''.$langs->trans("BackToList").''; // Ref - print ' | ||||||
| '.$langs->trans("Ref").' | '; + print ' | ||||||
| '.$langs->trans("Ref").' | ';
// Define a complementary filter for search of next/prev ref.
if (! $user->rights->projet->all->lire)
{
@@ -126,7 +126,7 @@ if ($id > 0 || ! empty($ref))
print ' '; - $colwidth=30; + $cssclass="titlefield"; include DOL_DOCUMENT_ROOT.'/core/tpl/notes.tpl.php'; dol_fiche_end(); diff --git a/htdocs/projet/tasks.php b/htdocs/projet/tasks.php index f1400cb4643..ab7e2849330 100644 --- a/htdocs/projet/tasks.php +++ b/htdocs/projet/tasks.php @@ -209,7 +209,7 @@ if ($id > 0 || ! empty($ref)) $linkback = ''.$langs->trans("BackToList").''; // Ref - print ' | ||||||
| '; + print ' | |||||||
| '; print $langs->trans("Ref"); print ' | ';
// Define a complementary filter for search of next/prev ref.
@@ -274,7 +274,8 @@ if ($action == 'create' && $user->rights->projet->creer && (empty($object->third
print '';
if (! empty($object->id)) print '';
if (! empty($mode)) print '';
-
+ print '';
+
dol_fiche_head('');
print '
|