summaryrefslogtreecommitdiff
path: root/app/Template/user/last.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-06-15 20:42:41 -0400
committerFrederic Guillot <fred@kanboard.net>2015-06-15 20:42:41 -0400
commit56d5b96fc08fe69e3991b7909798b1db0ea5097b (patch)
tree8ed665f7507c81f9aec1f0cd5b7ccc97a4c882c4 /app/Template/user/last.php
parentb96e6f82c8fa758b52790bdcf6a9a856b606fed6 (diff)
Remove truncate helper and use css instead
Diffstat (limited to 'app/Template/user/last.php')
-rw-r--r--app/Template/user/last.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/Template/user/last.php b/app/Template/user/last.php
index ab25f79b..8097d6f1 100644
--- a/app/Template/user/last.php
+++ b/app/Template/user/last.php
@@ -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>