change the unlink icon to fontawesome icon

On the project summary page, the unlink icon was still an image I change to that icon https://fontawesome.com/icons/unlink?style=solid.
This commit is contained in:
De Coninck Laurent 2018-10-25 21:57:08 +02:00
parent 9ccdd10a81
commit 84c30280d3

View File

@ -873,7 +873,7 @@ foreach ($listofreferent as $key => $value)
{
if (empty($conf->global->PROJECT_DISABLE_UNLINK_FROM_OVERVIEW) || $user->admin) // PROJECT_DISABLE_UNLINK_FROM_OVERVIEW is empty by defaut, so this test true
{
print '<a href="' . $_SERVER["PHP_SELF"] . '?id=' . $projectid . '&action=unlink&tablename=' . $tablename . '&elementselect=' . $element->id . '">' . img_picto($langs->trans('Unlink'), 'editdelete') . '</a>';
print '<a href="' . $_SERVER["PHP_SELF"] . '?id=' . $projectid . '&action=unlink&tablename=' . $tablename . '&elementselect=' . $element->id . '">' . img_picto($langs->trans('Unlink'), 'unlink') . '</a>';
}
}
print "</td>\n";