added registration date to user management + styling
This commit is contained in:
parent
8f7c64d170
commit
55c758076f
1 changed files with 3 additions and 1 deletions
|
|
@ -23,10 +23,12 @@
|
|||
<li class="cf">
|
||||
<input type="checkbox" id="users-<?=$user['id']?>" name="users[]" value="<?=$user['id']?>" <?php if(in_array($user['id'], $selectedUsers)) : ?>checked="checked"<?php endif ?> <?php if($user['id'] == \hhu\z\controllers\SeminaryController::$user['id']) : ?>disabled="disabled"<?php endif ?>/>
|
||||
<label for="users-<?=$user['id']?>">
|
||||
<p><a href="<?=$linker->link(array('users','user',$user['url']))?>"><?=$user['username']?></a></p>
|
||||
<p>
|
||||
<a href="<?=$linker->link(array('users','user',$user['url']))?>"><?=$user['username']?></a>
|
||||
<?php if(in_array('admin', $user['roles'])) : ?><small>(<?=_('Admin')?>)</small><?php endif ?>
|
||||
<?php if(in_array('moderator', $user['roles'])) : ?><small>(<?=_('Moderator')?>)</small><?php endif ?>
|
||||
<?php if(in_array('user', $user['roles'])) : ?><small>(<?=_('User')?>)</small><?php endif ?>
|
||||
<span class="xp"><small><?=sprintf(_('registered on %s'), $dateFormatter->format(new \DateTime($user['created'])))?></small></span>
|
||||
</p>
|
||||
</label>
|
||||
</li>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue