diff --git a/cps/static/css/style.css b/cps/static/css/style.css index 3d6256b2..47b0c4cb 100644 --- a/cps/static/css/style.css +++ b/cps/static/css/style.css @@ -318,6 +318,7 @@ input.pill:not(:checked) + label .glyphicon { display: none; } .editable-submit { margin-bottom: 0px !important; } .filterheader { margin-bottom: 20px; } .errorlink { margin-top: 20px; } +.emailconfig { margin-top: 10px; } .modal-body .comments { max-height: 300px; diff --git a/cps/templates/admin.html b/cps/templates/admin.html index e014935b..3fa86722 100644 --- a/cps/templates/admin.html +++ b/cps/templates/admin.html @@ -51,23 +51,31 @@

{{_('E-mail Server Settings')}}

- - - - - - - - - - - - - - - -
{{_('SMTP Hostname')}}{{_('SMTP Port')}}{{_('Encryption')}}{{_('SMTP Login')}}
{{email.mail_server}}{{email.mail_port}}{% if email.mail_use_ssl %}{% else %}{% endif %}{{email.mail_login}}
- + {% if config.get_mail_server_configured() %} +
+
+
{{_('SMTP Hostname')}}
+
{{email.mail_server}}
+
+
+
{{_('SMTP Port')}}
+
{{email.mail_port}}
+
+
+
{{_('Encryption')}}
+
{{ display_bool_setting(email.mail_use_ssl) }}
+
+
+
{{_('SMTP Login')}}
+
{{email.mail_login}}
+
+
+
{{_('From E-mail')}}
+
{{email.mail_from}}
+
+
+ {% endif %} +
@@ -140,7 +148,6 @@
{{_('Reconnect Calibre Database')}}
{{_('Restart')}}
{{_('Shutdown')}}
-
diff --git a/cps/templates/stats.html b/cps/templates/stats.html index 966abf2a..052c920a 100644 --- a/cps/templates/stats.html +++ b/cps/templates/stats.html @@ -26,7 +26,7 @@ {% if g.user.role_admin() %} -

{{_('Linked Libraries')}}

+

{{_('System Statistics')}}

diff --git a/cps/translations/de/LC_MESSAGES/messages.po b/cps/translations/de/LC_MESSAGES/messages.po index 07c41adf..bb41c493 100644 --- a/cps/translations/de/LC_MESSAGES/messages.po +++ b/cps/translations/de/LC_MESSAGES/messages.po @@ -1251,7 +1251,7 @@ msgstr "Bücher pro Seite" #: cps/templates/admin.html:104 msgid "Uploads" -msgstr "Lade hoch" +msgstr "Hochladen" #: cps/templates/admin.html:108 msgid "Anonymous Browsing"