Skip to content

Commit

Permalink
NEW tooltip notes with first public note and then private note
Browse files Browse the repository at this point in the history
  • Loading branch information
lvessiller-opendsi committed Nov 6, 2019
1 parent fefb4a7 commit bcafef4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions htdocs/comm/propal/class/propal.class.php
Expand Up @@ -3626,13 +3626,13 @@ public function getNomUrl($withpicto = 0, $option = '', $get_params = '', $notoo
$txttoshow .= dol_string_nohtmltag($this->note_public, 1);
}
} else {
if (!empty($this->note_private)) {
$txttoshow .= dol_string_nohtmltag($this->note_private, 1);
}
if (!empty($this->note_public)) {
if (!empty($txttoshow)) $txttoshow .= '<br>';
$txttoshow .= dol_string_nohtmltag($this->note_public, 1);
}
if (!empty($this->note_private)) {
if (!empty($txttoshow)) $txttoshow .= '<br><br>';
$txttoshow .= dol_string_nohtmltag($this->note_private, 1);
}
}
}

Expand Down

0 comments on commit bcafef4

Please sign in to comment.