smaller rework while getting an overview

This commit is contained in:
Patrick Jentsch
2020-11-04 14:54:27 +01:00
parent 9c9790be89
commit ab21768311
4 changed files with 20 additions and 30 deletions

View File

@ -131,7 +131,7 @@ RessourceList.dataMappers = {
email: user.email,
id: user.id,
link: `users/${user.id}`,
role_id: user.role_id,
role: user.role.name,
username: user.username,
username2: user.username,
"delete-link": `/admin/users/${user.id}/delete`,
@ -388,11 +388,10 @@ RessourceList.options = {
},
User: {
item: `<tr>
<td class="id"></td>
<td class="username"></td>
<td class="email"></td>
<td class="role_id"></td>
<td class="confirmed"></td>
<td class="id"></td>
<td class="role"></td>
<td>
<div class="right-align">
<a class="btn-floating modal-trigger red tooltipped waves-effect waves-light delete-modal-trigger" data-position="top" data-tooltip="Delete">
@ -418,8 +417,7 @@ RessourceList.options = {
"username",
"username2",
"email",
"role_id",
"confirmed",
"role",
"id",
{name: "link", attr: "href"},
{name: "delete-link", attr: "href"},