{% extends "layout.html" %} {% macro display_bool_setting(setting_value) -%} {% if setting_value %}{% else %}{% endif %} {%- endmacro %} {% block body %}

{{_('Users')}}

{% for user in allUser %} {% if not user.role_anonymous() or config.config_anonbrowse %} {% endif %} {% endfor %}
{{_('Username')}} {{_('E-mail Address')}} {{_('Send to Kindle E-mail Address')}} {{_('Downloads')}}
{{user.nickname}} {{user.email}} {{user.kindle_mail}} {{user.downloads.count()}}
{% if (config.config_login_type == 1) %}
{{_('Import LDAP Users')}}
{% endif %}

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

{% 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 %}

{{_('Configuration')}}

{{_('Calibre Database Directory')}}
{{config.config_calibre_dir}}
{{_('Log Level')}}
{{config.get_log_level()}}
{{_('Port')}}
{{config.config_port}}
{% if kobo_support and config.config_port != config.config_external_port %}
{{_('External Port')}}
{{config.config_external_port}}
{% endif %}
{{_('Books per Page')}}
{{config.config_books_per_page}}
{{_('Uploads')}}
{{ display_bool_setting(config.config_uploading) }}
{{_('Anonymous Browsing')}}
{{ display_bool_setting(config.config_anonbrowse) }}
{{_('Public Registration')}}
{{ display_bool_setting(config.config_public_reg) }}
{{_('Magic Link Remote Login')}}
{{ display_bool_setting(config.config_remote_login) }}
{{_('Reverse Proxy Login')}}
{{ display_bool_setting(config.config_allow_reverse_proxy_header_login) }}
{% if config.config_allow_reverse_proxy_header_login %}
{{_('Reverse proxy header name')}}
{{ config.config_reverse_proxy_login_header_name }}
{% endif %}

{{_('Administration')}}

{{_('Reconnect Calibre Database')}}
{{_('Restart')}}
{{_('Shutdown')}}

{{_('Update')}}

{{_('Version')}} {{_('Details')}}
{{commit}} {{_('Current version')}}
{{_('Check for Update')}}
{% endblock %}