New bootstrap-based layout #30

Merged
Roflin merged 79 commits from bootstrap into master 2023-03-14 19:11:25 +01:00
2 changed files with 6 additions and 4 deletions
Showing only changes of commit 0b8c614191 - Show all commits

View File

@ -71,8 +71,9 @@ class ManageAssets extends HTMLController
'parse' => [
'type' => 'function',
'data' => function($row) {
if (!empty($row['first_name']))
return $row['first_name'] . ' ' . $row['surname'];
if (!empty($row['id_user']))
return sprintf('<a href="%s/edituser/?id=%d">%s</a>', BASEURL, $row['id_user'],
$row['first_name'] . ' ' . $row['surname']);
else
return 'n/a';
},

View File

@ -56,8 +56,9 @@ class ManageTags extends HTMLController
'parse' => [
'type' => 'function',
'data' => function($row) {
if (!empty($row['first_name']))
return $row['first_name'] . ' ' . $row['surname'];
if (!empty($row['id_user']))
return sprintf('<a href="%s/edituser/?id=%d">%s</a>', BASEURL, $row['id_user'],
$row['first_name'] . ' ' . $row['surname']);
else
return 'n/a';
},