{% extends "base.html" %} {% block titleTag -%} {{ _("Account") }} - KindleEar {% endblock -%} {% block bodytag -%} {% endblock -%} {% block content -%}
{% if session.get('role') == 'admin' -%} {% if g.allowSignup -%}
{% if tips -%}
{{tips}}
{% endif -%}
{{_("Signup settings")}}
{% endif %}
{{_("Accounts")}} {{_("Add")}} {% for other in users -%} {% if other.expiration_days == 0 -%} {% elif other.expiration_days == 7 -%} {% elif other.expiration_days == 30 -%} {% elif other.expiration_days == 90 -%} {% elif other.expiration_days == 180 -%} {% elif other.expiration_days == 365 -%} {% elif other.expiration_days == 730 -%} {% else -%} {% endif -%} {% endfor -%}
{{_("Username")}} {{_("AutoSend")}} {{_("Email")}} {{_("Expiration")}} {{_("Operation")}}
{{other.name}} {{_("Yes") if other.cfg('enable_send') else _("No")}} {{other.cfg('email')}}{{_("Never")}}{{_("7 Days")}}{{_("1 Month")}}{{_("3 Months")}}{{_("6 Months")}}{{_("1 Year")}}{{_("2 Years")}}{{other.expiration_days}} Days {% if other.name == adminName -%} {% else -%} {% endif -%}
{% endif -%}
{% endblock -%} {% block js -%} {% endblock -%}