Permalink
Browse files

Show email verification status on admin page

  • Loading branch information...
1 parent 34e42c9 commit fc2c0a5fc791b43910a68ee329927065bef6c47e @sergeychernyshev sergeychernyshev committed Sep 18, 2016
Showing with 4 additions and 1 deletion.
  1. +4 −1 admin/users.php
View
@@ -152,7 +152,10 @@
}
?></td>
<td><i class="icon-user"></i> <a href="user.php?id=<?php echo $userid ?>"<?php if ($user->isDisabled()) { ?> class="startupapi-user-disabled"<?php } ?>><?php echo UserTools::escape($user->getName())?></a></td>
- <td><?php echo UserTools::escape($user->getEmail())?></td>
+ <td>
+ <?php echo UserTools::escape($user->getEmail())?>
+ <?php if (!$user->isEmailVerified()) { ?><br><span class="label label-warning">Not verified</span><?php } ?>
+ </td>
<td><?php
$points = $user->getPoints();
if ($points > 0) {

0 comments on commit fc2c0a5

Please sign in to comment.