mirror of
https://github.com/YunoHost-Apps/kanboard_ynh.git
synced 2024-09-03 19:36:17 +02:00
24 lines
No EOL
762 B
PHP
24 lines
No EOL
762 B
PHP
<div class="page-header">
|
|
<h2><?= t('Last logins') ?></h2>
|
|
</div>
|
|
|
|
<?php if (empty($last_logins)): ?>
|
|
<p class="alert"><?= t('Never connected.') ?></p>
|
|
<?php else: ?>
|
|
<table class="table-small">
|
|
<tr>
|
|
<th><?= t('Login date') ?></th>
|
|
<th><?= t('Authentication method') ?></th>
|
|
<th><?= t('IP address') ?></th>
|
|
<th><?= t('User agent') ?></th>
|
|
</tr>
|
|
<?php foreach($last_logins as $login): ?>
|
|
<tr>
|
|
<td><?= dt('%B %e, %Y at %k:%M %p', $login['date_creation']) ?></td>
|
|
<td><?= $this->e($login['auth_type']) ?></td>
|
|
<td><?= $this->e($login['ip']) ?></td>
|
|
<td><?= $this->e($this->summary($login['user_agent'])) ?></td>
|
|
</tr>
|
|
<?php endforeach ?>
|
|
</table>
|
|
<?php endif ?>
|