[Web] Fix quarantine view and add missing lang string

master
andryyy 2020-02-26 07:09:07 +01:00
parent 0703a25db6
commit 5fab69afcc
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
5 changed files with 8 additions and 3 deletions

View File

@ -15,7 +15,7 @@ table.footable>tbody>tr.footable-empty>td {
overflow: visible !important; overflow: visible !important;
} }
@media screen and (max-width: 767px) { @media screen and (max-width: 1280px) {
.table-responsive { .table-responsive {
overflow-x: scroll !important; overflow-x: scroll !important;
} }

View File

@ -218,6 +218,8 @@
"session_ua": "Formular-Token ungültig: User-Agent-Validierungsfehler" "session_ua": "Formular-Token ungültig: User-Agent-Validierungsfehler"
}, },
"user": { "user": {
"last_mail_login": "Letzter Mail-Login",
"no_last_login": "Keine letzte UI Anmeldung gespeichert",
"generate": "generieren", "generate": "generieren",
"apple_connection_profile": "Apple Verbindungsprofil", "apple_connection_profile": "Apple Verbindungsprofil",
"apple_connection_profile_mailonly": "Dieses Verbindungsprofil beinhaltet IMAP und SMTP Konfigurationen für ein Apple Gerät.", "apple_connection_profile_mailonly": "Dieses Verbindungsprofil beinhaltet IMAP und SMTP Konfigurationen für ein Apple Gerät.",

View File

@ -218,6 +218,8 @@
"ip_invalid": "Skipped invalid IP: %s" "ip_invalid": "Skipped invalid IP: %s"
}, },
"user": { "user": {
"no_last_login": "No last UI login information",
"last_mail_login": "Last mail login",
"apple_connection_profile": "Apple connection profile", "apple_connection_profile": "Apple connection profile",
"apple_connection_profile_mailonly": "This connection profile includes IMAP and SMTP configuration parameters for an Apple device.", "apple_connection_profile_mailonly": "This connection profile includes IMAP and SMTP configuration parameters for an Apple device.",
"apple_connection_profile_complete": "This connection profile includes IMAP and SMTP parameters as well as CalDAV (calendars) and CardDAV (contacts) pathes for an Apple device.", "apple_connection_profile_complete": "This connection profile includes IMAP and SMTP parameters as well as CalDAV (calendars) and CardDAV (contacts) pathes for an Apple device.",

View File

@ -821,6 +821,7 @@
"yubi_otp": "Yubico OTP аутентификация" "yubi_otp": "Yubico OTP аутентификация"
}, },
"user": { "user": {
"last_mail_login": "Последний вход",
"action": "Действия", "action": "Действия",
"active": "Активный", "active": "Активный",
"active_sieve": "Включенные фильтры", "active_sieve": "Включенные фильтры",

View File

@ -26,7 +26,7 @@ if (isset($_SESSION['mailcow_cc_role']) && $_SESSION['mailcow_cc_role'] == 'doma
?> ?>
<span style="margin-right:10px" class="glyphicon glyphicon-log-in"></span> <span data-time="<?=$_SESSION['mailcow_cc_last_login']['time'];?>" class="last_login_date"></span> (<?=$_SESSION['mailcow_cc_last_login']['remote'];?>) <span style="margin-right:10px" class="glyphicon glyphicon-log-in"></span> <span data-time="<?=$_SESSION['mailcow_cc_last_login']['time'];?>" class="last_login_date"></span> (<?=$_SESSION['mailcow_cc_last_login']['remote'];?>)
<?php <?php
else: echo "Last login: -"; endif; else: echo $lang['user']['no_last_login']; endif;
?> ?>
</small></p> </small></p>
<p> <p>
@ -124,7 +124,7 @@ elseif (isset($_SESSION['mailcow_cc_role']) && $_SESSION['mailcow_cc_role'] == '
?> ?>
<span style="margin-right:10px" class="glyphicon glyphicon-log-in"></span> <span data-time="<?=$_SESSION['mailcow_cc_last_login']['time'];?>" class="last_login_date"></span> (<?=$_SESSION['mailcow_cc_last_login']['remote'];?>) <span style="margin-right:10px" class="glyphicon glyphicon-log-in"></span> <span data-time="<?=$_SESSION['mailcow_cc_last_login']['time'];?>" class="last_login_date"></span> (<?=$_SESSION['mailcow_cc_last_login']['remote'];?>)
<?php <?php
else: echo "Last login: -"; endif; else: echo $lang['user']['no_last_login']; endif;
?> ?>
</small></p> </small></p>
</div> </div>