Fix tooltip on project not visible sometimes
This commit is contained in:
parent
a5ce3ada0a
commit
1ed649ff28
@ -7,7 +7,7 @@ ProjectsArea=Projects Area
|
|||||||
ProjectStatus=Project status
|
ProjectStatus=Project status
|
||||||
SharedProject=Everybody
|
SharedProject=Everybody
|
||||||
PrivateProject=Project contacts
|
PrivateProject=Project contacts
|
||||||
ProjectsImContactFor=Projects for I am explicitly a contact
|
ProjectsImContactFor=Projects for which I am explicitly a contact
|
||||||
AllAllowedProjects=All project I can read (mine + public)
|
AllAllowedProjects=All project I can read (mine + public)
|
||||||
AllProjects=All projects
|
AllProjects=All projects
|
||||||
MyProjectsDesc=This view is limited to projects you are a contact for
|
MyProjectsDesc=This view is limited to projects you are a contact for
|
||||||
|
|||||||
@ -1096,23 +1096,14 @@ class Project extends CommonObject
|
|||||||
$linkclose .= ' alt="'.dol_escape_htmltag($label, 1).'"';
|
$linkclose .= ' alt="'.dol_escape_htmltag($label, 1).'"';
|
||||||
}
|
}
|
||||||
$linkclose .= ' title="'.dol_escape_htmltag($label, 1).'"';
|
$linkclose .= ' title="'.dol_escape_htmltag($label, 1).'"';
|
||||||
$linkclose .= ' class="classfortooltip"';
|
$linkclose .= ' class="classfortooltip'.($morecss ? ' '.$morecss : '').'"';
|
||||||
|
|
||||||
/*
|
|
||||||
$hookmanager->initHooks(array('projectdao'));
|
|
||||||
$parameters=array('id'=>$this->id);
|
|
||||||
// Note that $action and $object may have been modified by some hooks
|
|
||||||
$reshook=$hookmanager->executeHooks('getnomurltooltip',$parameters,$this,$action);
|
|
||||||
if ($reshook > 0)
|
|
||||||
$linkclose = $hookmanager->resPrint;
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
else $linkclose = ($morecss ? ' class="'.$morecss.'"' : '');
|
||||||
|
|
||||||
$picto = 'projectpub';
|
$picto = 'projectpub';
|
||||||
if (!$this->public) $picto = 'project';
|
if (!$this->public) $picto = 'project';
|
||||||
|
|
||||||
$linkstart = '<a href="'.$url.'"';
|
$linkstart = '<a href="'.$url.'"';
|
||||||
$linkstart .= ($morecss ? ' class="'.$morecss.'"' : '');
|
|
||||||
$linkstart .= $linkclose.'>';
|
$linkstart .= $linkclose.'>';
|
||||||
$linkend = '</a>';
|
$linkend = '</a>';
|
||||||
|
|
||||||
|
|||||||
@ -364,7 +364,7 @@ print '</div>';
|
|||||||
if (empty($conf->global->PROJECT_HIDE_PROJECT_LIST_ON_PROJECT_AREA))
|
if (empty($conf->global->PROJECT_HIDE_PROJECT_LIST_ON_PROJECT_AREA))
|
||||||
{
|
{
|
||||||
// This list can be very long, so we allow to hide it to prefer to use the list page.
|
// This list can be very long, so we allow to hide it to prefer to use the list page.
|
||||||
// Add constant PROJECT_HIDE_PROJECT_LIST_ON_PROJECT_AREA to show this list
|
// Add constant PROJECT_HIDE_PROJECT_LIST_ON_PROJECT_AREA to hide this list
|
||||||
|
|
||||||
print '<br>';
|
print '<br>';
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user