File tree Expand file tree Collapse file tree
themes/finna2/templates/librarycards Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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>
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>
You can’t perform that action at this time.
0 commit comments