Remove truncate helper and use css instead
This commit is contained in:
@@ -5,11 +5,11 @@
|
||||
<?php if (empty($last_logins)): ?>
|
||||
<p class="alert"><?= t('Never connected.') ?></p>
|
||||
<?php else: ?>
|
||||
<table class="table-small">
|
||||
<table class="table-small table-fixed">
|
||||
<tr>
|
||||
<th><?= t('Login date') ?></th>
|
||||
<th><?= t('Authentication method') ?></th>
|
||||
<th><?= t('IP address') ?></th>
|
||||
<th class="column-20"><?= t('Login date') ?></th>
|
||||
<th class="column-15"><?= t('Authentication method') ?></th>
|
||||
<th class="column-15"><?= t('IP address') ?></th>
|
||||
<th><?= t('User agent') ?></th>
|
||||
</tr>
|
||||
<?php foreach($last_logins as $login): ?>
|
||||
@@ -17,7 +17,7 @@
|
||||
<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->text->truncate($login['user_agent'])) ?></td>
|
||||
<td><?= $this->e($login['user_agent']) ?></td>
|
||||
</tr>
|
||||
<?php endforeach ?>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user