|
|
@@ -83,7 +83,7 @@
|
|
|
<thead>
|
|
|
<tr>
|
|
|
<th>ID</th>
|
|
|
- <th>Name</th>
|
|
|
+ <th>Name / Email</th>
|
|
|
<th>Level</th>
|
|
|
<th>Age</th>
|
|
|
<th>Score</th>
|
|
|
@@ -93,13 +93,18 @@
|
|
|
<tbody>
|
|
|
<?php
|
|
|
foreach($users as $user) {
|
|
|
+ $activated = "<i class=\"fas fa-fw fa-question-circle text-warning\" data-toggle=\"tooltip\" title=\"Unverified\"></i>";
|
|
|
+ if($user->activated) {
|
|
|
+ $activated = "<i class=\"fas fa-fw fa-check-circle text-primary\" data-toggle=\"tooltip\" title=\"Verified\"></i>";
|
|
|
+ }
|
|
|
?>
|
|
|
<tr>
|
|
|
<td class="text-right align-middle">
|
|
|
<?=$user->id?>
|
|
|
</td>
|
|
|
<td class="align-middle">
|
|
|
- <a href="/account/users/<?=$user->id?>"><?=htmlspecialchars($user->getDisplayName())?></a>
|
|
|
+ <a href="/account/users/<?=$user->id?>"><?=htmlspecialchars($user->getDisplayName())?></a><br />
|
|
|
+ <small><?=htmlspecialchars($user->email)?> <?=$activated?></small>
|
|
|
</td>
|
|
|
<td class="text-center align-middle">
|
|
|
<span class="badge badge-<?=$user->getLevelClass()?>"><?=htmlspecialchars($user->getLevelText())?></span>
|