{# version, hostname, uptime, loadavg, #} {% extends "layout.html" %} {% from "macros/amavisd.html" import display_amavisd_quarantined_mails with context %} {% block title %} {{ _('Dashboard') }} {% endblock %} {% block navlinks_active_dashboard %}class="active"{% endblock %} {% block main %} {% if session.get('enableAmavisdLoggingIntoSQL') is sameas true %}
![]() |
{{ _('Received') }} | {{ numberOfIncomingMails }} |
---|---|---|
![]() |
{{ _('Sent') }} | {{ numberOfOutgoingMails }} |
![]() |
{{ _('Virus') }} | {{ numberOfVirusMails }} |
![]() |
{{ _('Quarantined') }} | {{ amavisdQuarantineCount }} |
{{ _('Total') }} | {{ _('Sender') }} |
---|---|
{{ s.total }} | {{ s.mail |e }} |
{{ _('Total') }} | {{ _('Recipient') }} |
---|---|
{{ s.total }} | {{ s.mail |e }} |
{{ _('Stored Emails') }} | {% if totalMessages is not sameas none %}{{ totalMessages }} {{ _('Emails') }}.{% endif %} {% if totalBytes is not sameas none %}{{ totalBytes |filesizeformat }}.{% endif %} |
---|---|
iRedAdmin-Pro | v{{ version }} (LDAP) {% if newVersionInfo[0] is sameas none %} {# Already checked today. #} {% elif newVersionInfo[0] is sameas true %} {# New version available #} {% if newVersionInfo[1].version > version %} {{ _("Update available: v%s.") |format(newVersionInfo[1].url, newVersionInfo[0].version,) }} {% endif %} {% else %} {# Error while checking #} {{ _('Error while checking new version: %s') |format(newVersionInfo[1]) }} {% endif %} |
{{ _('Hostname') }} | {{ hostname }} |
{{ _('Uptime') }} | {{ _('%s days, %s hours, %s minutes.') |format(uptime[0], uptime[1], uptime[2]) }} |
{{ _('Server load') }} | {{ '%s, %s, %s.' |format(loadavg[0], loadavg[1], loadavg[2]) }} |
{{ _('Network') }} ({{ netif[0] }}) | {{ netif[1]['addr'] }}/{{ netif[1]['netmask'] }} |