{% extends "base.html" %}

{% block title %}
{% trans %}Sign up{% endtrans %}
{% endblock %}

{% block subtitle %}
{% trans %}pick a domain for the new account{% endtrans %}
{% endblock %}

{% block content %}
{% call macros.table() %}
<tr>
  <th>{% trans %}Domain{% endtrans %}</th>
  <th>{% trans %}Available slots{% endtrans %}</th>
  <th>{% trans %}Quota{% endtrans %}</th>
</tr>
{% for domain_name, domain in available_domains.items() %}
<tr>
  <td><a href="{{ url_for('.user_signup', domain_name=domain_name) }}">{{ domain_name }}</a></td>
  <td>{{ domain.max_users - domain.users if domain.max_users else '∞' }}</td>
  <td>{{ domain.max_quota_bytes or config['DEFAULT_QUOTA'] | filesizeformat }}</td>
</tr>
{% endfor %}
{% endcall %}
{% endblock %}

{% extends "base.html" %}

{% block title %}
{% trans %}Sign up{% endtrans %}
{% endblock %}

{% block subtitle %}
{% trans %}pick a domain for the new account{% endtrans %}
{% endblock %}

{% block content %}
{% call macros.table() %}
<tr>
  <th>{% trans %}Domain{% endtrans %}</th>
  <th>{% trans %}Available slots{% endtrans %}</th>
  <th>{% trans %}Quota{% endtrans %}</th>
</tr>
{% for domain_name, domain in available_domains.items() %}
<tr>
  <td><a href="{{ url_for('.user_signup', domain_name=domain_name) }}">{{ domain_name }}</a></td>
  <td>{{ domain.max_users - (domain.users | count) if domain.max_users else '∞' }}</td>
  <td>{{ domain.max_quota_bytes or config['DEFAULT_QUOTA'] | filesizeformat }}</td>
</tr>
{% endfor %}
{% endcall %}
{% endblock %}

Fix the signup domain list with non infinite mailbox max count
Fix the signup domain list with non infinite mailbox max count
