Fix: Minor change in look of project
This commit is contained in:
parent
fc925f9544
commit
4249291d4b
@ -106,4 +106,5 @@ ConfirmCreateContact=Are you sure you want to create a Dolibarr account for this
|
|||||||
ConfirmCreateLogin=Are you sure you want to create a Dolibarr account for this member ?
|
ConfirmCreateLogin=Are you sure you want to create a Dolibarr account for this member ?
|
||||||
ConfirmCreateThirdParty=Are you sure you want to create a third party for this member ?
|
ConfirmCreateThirdParty=Are you sure you want to create a third party for this member ?
|
||||||
LoginToCreate=Login to create
|
LoginToCreate=Login to create
|
||||||
NameToCreate=Name of third party to create
|
NameToCreate=Name of third party to create
|
||||||
|
YourRole=Your roles
|
||||||
@ -106,4 +106,5 @@ ConfirmCreateContact=Êtes-vous sûr de vouloir créer un compte Dolibarr pour c
|
|||||||
ConfirmCreateLogin=Êtes-vous sûr de vouloir créer un compte Dolibarr pour cet adhérent ?
|
ConfirmCreateLogin=Êtes-vous sûr de vouloir créer un compte Dolibarr pour cet adhérent ?
|
||||||
ConfirmCreateThirdParty=Êtes-vous sûr de vouloir créer un tiers pour cet adhérent ?
|
ConfirmCreateThirdParty=Êtes-vous sûr de vouloir créer un tiers pour cet adhérent ?
|
||||||
LoginToCreate=Login à créer
|
LoginToCreate=Login à créer
|
||||||
NameToCreate=Nom du tiers à créer
|
NameToCreate=Nom du tiers à créer
|
||||||
|
YourRole=Vos rôles
|
||||||
@ -52,12 +52,12 @@ function project_prepare_head($object)
|
|||||||
$head[$h][2] = 'element';
|
$head[$h][2] = 'element';
|
||||||
$h++;
|
$h++;
|
||||||
}
|
}
|
||||||
|
|
||||||
$head[$h][0] = DOL_URL_ROOT.'/projet/contact.php?id='.$object->id;
|
$head[$h][0] = DOL_URL_ROOT.'/projet/contact.php?id='.$object->id;
|
||||||
$head[$h][1] = $langs->trans("ProjectContact");
|
$head[$h][1] = $langs->trans("ProjectContact");
|
||||||
$head[$h][2] = 'contact';
|
$head[$h][2] = 'contact';
|
||||||
$h++;
|
$h++;
|
||||||
|
|
||||||
$head[$h][0] = DOL_URL_ROOT.'/projet/document.php?id='.$object->id;
|
$head[$h][0] = DOL_URL_ROOT.'/projet/document.php?id='.$object->id;
|
||||||
/*$filesdir = $conf->projet->dir_output . "/" . dol_sanitizeFileName($object->ref);
|
/*$filesdir = $conf->projet->dir_output . "/" . dol_sanitizeFileName($object->ref);
|
||||||
include_once(DOL_DOCUMENT_ROOT.'/lib/files.lib.php');
|
include_once(DOL_DOCUMENT_ROOT.'/lib/files.lib.php');
|
||||||
@ -119,7 +119,7 @@ function task_prepare_head($object)
|
|||||||
$head[$h][1] = $langs->trans("TimeSpent");
|
$head[$h][1] = $langs->trans("TimeSpent");
|
||||||
$head[$h][2] = 'time';
|
$head[$h][2] = 'time';
|
||||||
$h++;
|
$h++;
|
||||||
|
|
||||||
$head[$h][0] = DOL_URL_ROOT.'/projet/tasks/document.php?id='.$object->id;
|
$head[$h][0] = DOL_URL_ROOT.'/projet/tasks/document.php?id='.$object->id;
|
||||||
/*$filesdir = $conf->projet->dir_output . "/" . dol_sanitizeFileName($object->ref);
|
/*$filesdir = $conf->projet->dir_output . "/" . dol_sanitizeFileName($object->ref);
|
||||||
include_once(DOL_DOCUMENT_ROOT.'/lib/files.lib.php');
|
include_once(DOL_DOCUMENT_ROOT.'/lib/files.lib.php');
|
||||||
@ -233,7 +233,7 @@ function PLinesb(&$inc, $parent, $lines, &$level, &$projectsrole)
|
|||||||
{
|
{
|
||||||
global $user, $bc, $langs;
|
global $user, $bc, $langs;
|
||||||
global $form;
|
global $form;
|
||||||
|
|
||||||
$lastprojectid=0;
|
$lastprojectid=0;
|
||||||
|
|
||||||
$projectstatic = new Project($db);
|
$projectstatic = new Project($db);
|
||||||
@ -403,7 +403,7 @@ function PLines(&$inc, $parent, &$lines, &$level, $var, $showproject, &$taskrole
|
|||||||
print '<td>';
|
print '<td>';
|
||||||
if ($showlineingray)
|
if ($showlineingray)
|
||||||
{
|
{
|
||||||
print '<i>'.$lines[$i]->id.'</i>';
|
print '<i>'.img_object('','projecttask').' '.$lines[$i]->id.'</i>';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -426,7 +426,7 @@ function PLines(&$inc, $parent, &$lines, &$level, $var, $showproject, &$taskrole
|
|||||||
if ($showlineingray) print '</i>';
|
if ($showlineingray) print '</i>';
|
||||||
else print '</a>';
|
else print '</a>';
|
||||||
print "</td>\n";
|
print "</td>\n";
|
||||||
|
|
||||||
// Progress
|
// Progress
|
||||||
print '<td align="right">';
|
print '<td align="right">';
|
||||||
print $lines[$i]->progress.' %';
|
print $lines[$i]->progress.' %';
|
||||||
|
|||||||
@ -41,6 +41,8 @@ $result = restrictedArea($user, 'projet', $projectid);
|
|||||||
|
|
||||||
$userAccess=0;
|
$userAccess=0;
|
||||||
|
|
||||||
|
$langs->load("users");
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Actions
|
* Actions
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user