From 5fab69afcc6bb261de28687331d27abbe89161d6 Mon Sep 17 00:00:00 2001 From: andryyy Date: Wed, 26 Feb 2020 07:09:07 +0100 Subject: [PATCH] [Web] Fix quarantine view and add missing lang string --- data/web/css/site/quarantine.css | 2 +- data/web/lang/lang.de.json | 2 ++ data/web/lang/lang.en.json | 2 ++ data/web/lang/lang.ru.json | 1 + data/web/user.php | 4 ++-- 5 files changed, 8 insertions(+), 3 deletions(-) diff --git a/data/web/css/site/quarantine.css b/data/web/css/site/quarantine.css index b51fc0fe..e7cdf271 100644 --- a/data/web/css/site/quarantine.css +++ b/data/web/css/site/quarantine.css @@ -15,7 +15,7 @@ table.footable>tbody>tr.footable-empty>td { overflow: visible !important; } -@media screen and (max-width: 767px) { +@media screen and (max-width: 1280px) { .table-responsive { overflow-x: scroll !important; } diff --git a/data/web/lang/lang.de.json b/data/web/lang/lang.de.json index 1507dd21..c19c3c4b 100644 --- a/data/web/lang/lang.de.json +++ b/data/web/lang/lang.de.json @@ -218,6 +218,8 @@ "session_ua": "Formular-Token ungültig: User-Agent-Validierungsfehler" }, "user": { + "last_mail_login": "Letzter Mail-Login", + "no_last_login": "Keine letzte UI Anmeldung gespeichert", "generate": "generieren", "apple_connection_profile": "Apple Verbindungsprofil", "apple_connection_profile_mailonly": "Dieses Verbindungsprofil beinhaltet IMAP und SMTP Konfigurationen für ein Apple Gerät.", diff --git a/data/web/lang/lang.en.json b/data/web/lang/lang.en.json index 58a82a17..ec14f7f0 100644 --- a/data/web/lang/lang.en.json +++ b/data/web/lang/lang.en.json @@ -218,6 +218,8 @@ "ip_invalid": "Skipped invalid IP: %s" }, "user": { + "no_last_login": "No last UI login information", + "last_mail_login": "Last mail login", "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_complete": "This connection profile includes IMAP and SMTP parameters as well as CalDAV (calendars) and CardDAV (contacts) pathes for an Apple device.", diff --git a/data/web/lang/lang.ru.json b/data/web/lang/lang.ru.json index e8d53afc..6fc69b03 100644 --- a/data/web/lang/lang.ru.json +++ b/data/web/lang/lang.ru.json @@ -821,6 +821,7 @@ "yubi_otp": "Yubico OTP аутентификация" }, "user": { + "last_mail_login": "Последний вход", "action": "Действия", "active": "Активный", "active_sieve": "Включенные фильтры", diff --git a/data/web/user.php b/data/web/user.php index ad24811f..a312d5f4 100644 --- a/data/web/user.php +++ b/data/web/user.php @@ -26,7 +26,7 @@ if (isset($_SESSION['mailcow_cc_role']) && $_SESSION['mailcow_cc_role'] == 'doma ?> ()

@@ -124,7 +124,7 @@ elseif (isset($_SESSION['mailcow_cc_role']) && $_SESSION['mailcow_cc_role'] == ' ?> ()