This is only visible to Trusted Users and developers.

Signed-off-by: Lukas Fleischer <[email protected]>
---
 web/template/account_details.php | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/web/template/account_details.php b/web/template/account_details.php
index 5ba01d9..a4e20c9 100644
--- a/web/template/account_details.php
+++ b/web/template/account_details.php
@@ -43,6 +43,14 @@
                                        <?= $row["InactivityTS"] ? __("Inactive 
since") . ' ' . date("Y-m-d H:i", $row["InactivityTS"]) : __("Active"); ?>
                                        </td>
                                </tr>
+                               <?php if ($atype == "Trusted User" || $atype == 
"Developer"): ?>
+                               <tr>
+                                       <th><?= __("Last Login") . ":" ?></th>
+                                       <td>
+                                       <?= $row["LastLogin"] ? date("Y-m-d", 
$row["LastLogin"]) : __("Never"); ?>
+                                       </td>
+                               </tr>
+                               <?php endif; ?>
                                <tr>
                                        <th>Links:</th>
                                        <td><ul>
-- 
1.8.5.4

Reply via email to