Skip to content

Commit da87a96

Browse files
committed
requested changes
1 parent 37bcc14 commit da87a96

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

themes/finna2/templates/librarycards/connectedusers.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?=$this->component('page-title', ['title' => $this->transEsc('library_card_connected_users')]);?>
1+
<?=$this->component('page-title', ['title' => $this->translate('library_card_connected_users')]);?>
22
<table class="table table-striped table-responsive">
33
<thead>
44
<tr>
@@ -21,7 +21,7 @@
2121
?>
2222
<tr>
2323
<td data-label="<?=$this->transEsc('library_card_date_of_connection')?>"><?=$this->escapeHtml($account->getCreated()->format($this->config()->dateTimeFormat()))?></td>
24-
<td data-label="<?=$this->transEsc('Last Login')?>"><?=$this->escapeHtml($user->getLastLogin()->format($this->config()->dateTimeFormat()))?></td>
24+
<td data-label="<?=$this->transEsc('Last Login')?>"><?=$this->escapeHtml($user->getLastLogin()?->format($this->config()->dateTimeFormat()))?></td>
2525
<td data-label="<?=$this->transEsc('account_username')?>"><span><?=$this->escapeHtml($user->getDisplayableUsername($loginMethod))?><?php if ($user->getId() === $this->auth()->getUserObject()->getId()): ?><br><span class="library-card-this-session">(<?=$this->transEsc('library_card_this_session')?>)</span><?php endif;?></td></span>
2626
<td data-label="<?=$this->transEsc('account_login_method')?>"><?=$this->transEscWithPrefix('login_method_', $user->getAuthMethod()) ?></td>
2727
</tr>

0 commit comments

Comments
 (0)