summaryrefslogtreecommitdiff
path: root/app/Template/user/sessions.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/sessions.php
parentb96e6f82c8fa758b52790bdcf6a9a856b606fed6 (diff)
Remove truncate helper and use css instead
Diffstat (limited to 'app/Template/user/sessions.php')
-rw-r--r--app/Template/user/sessions.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/Template/user/sessions.php b/app/Template/user/sessions.php
index a7504a7a..67b2c8cd 100644
--- a/app/Template/user/sessions.php
+++ b/app/Template/user/sessions.php
@@ -5,20 +5,20 @@
<?php if (empty($sessions)): ?>
<p class="alert"><?= t('No session.') ?></p>
<?php else: ?>
- <table class="table-small">
+ <table class="table-small table-fixed">
<tr>
- <th><?= t('Creation date') ?></th>
- <th><?= t('Expiration date') ?></th>
- <th><?= t('IP address') ?></th>
+ <th class="column-20"><?= t('Creation date') ?></th>
+ <th class="column-20"><?= t('Expiration date') ?></th>
+ <th class="column-15"><?= t('IP address') ?></th>
<th><?= t('User agent') ?></th>
- <th><?= t('Action') ?></th>
+ <th class="column-10"><?= t('Action') ?></th>
</tr>
<?php foreach($sessions as $session): ?>
<tr>
<td><?= dt('%B %e, %Y at %k:%M %p', $session['date_creation']) ?></td>
<td><?= dt('%B %e, %Y at %k:%M %p', $session['expiration']) ?></td>
<td><?= $this->e($session['ip']) ?></td>
- <td><?= $this->e($this->text->truncate($session['user_agent'])) ?></td>
+ <td><?= $this->e($session['user_agent']) ?></td>
<td><?= $this->url->link(t('Remove'), 'user', 'removeSession', array('user_id' => $user['id'], 'id' => $session['id']), true) ?></td>
</tr>
<?php endforeach ?>