Add an ID into formproject method to be able to target

This commit is contained in:
kevin 2022-02-25 09:17:18 +01:00
parent c097ee5331
commit d2cbead203

View File

@ -5199,13 +5199,17 @@ class Form
$out .= '<input type="submit" class="button smallpaddingimp" value="'.$langs->trans("Modify").'">'; $out .= '<input type="submit" class="button smallpaddingimp" value="'.$langs->trans("Modify").'">';
$out .= '</form>'; $out .= '</form>';
} else { } else {
$out .= '<span id="project_head_block">';
if ($selected) { if ($selected) {
$projet = new Project($this->db); $projet = new Project($this->db);
$projet->fetch($selected); $projet->fetch($selected);
$out .= $projet->getNomUrl(1, '', 1);
$out .= $projet->getNomUrl(1, '', 1);
} else { } else {
$out .= "&nbsp;"; $out .= "&nbsp;";
} }
$out .= '</span>';
} }
if (empty($nooutput)) { if (empty($nooutput)) {