{# vim: ts=2:sw=2:et:ft=twig #} {% from 'modules/backup_mgr/macros.html' import help_popover, show_switch, error_box %}

{{langmod.CHILDACCT_LIMIT_INFO}}

Limit Child Account Usage {{ show_switch('do_child_limits', mod.bakmgr.children.do_limit) }} {{ help_popover(langmod.CHILDACCT_LIMIT_HELP) }} {{ error_box('child-limit-toggle-msg') }}
Set the Default Limit for New Child Accounts: GB
Child account notifications will be sent to the following email address:

Invalid email address

Account

Backup Limit

Email Notifications {{ help_popover(langmod.CHILDACCT_EMAIL_NOTIFY) }}

Current Backup Usage

{{ mod.bakmgr.username }} (parent)
{{ (mod.bakmgr.quota_mb / 1024)|round(2) }}GB {{ help_popover(langmod.CHILDACCT_EMAIL_QUOTA_MB) }}
??GB / {{ (mod.bakmgr.quota_mb / 1024)|round(2) }}GB
{% for child, lim in mod.bakmgr.children.limits %} {% if lim is null %} {% set limit = mod.bakmgr.children.default_limit %} {% else %} {% set limit = lim %} {% endif %}
{{ child }}
GB
{{ show_switch("childnotify-#{child}", mod.bakmgr.children.notify[child], 'On', 'Off') }}
??GB ??GB
{% endfor %}

You are over provisioning based on your {{ (mod.bakmgr.quota_mb / 1024)|round(2) }}GB limit.

{{ error_box('child-limit-apply-msg') }}