{% extends "domain_base.html" %} {% block domain_content %} {% if joinSettings %}
{{ _('User can join this domain by visiting the following URL') }}:
{{ url_prefix|safe }}domain/join?domainId={{ handler.args.domainId }}
{% if joinSettings['method'] == model.domain.JOIN_METHOD_CODE %}
{{ _('Or, with automatically filled invitation code') }}:
{{ url_prefix|safe }}domain/join?domainId={{ handler.args.domainId }}&code={{ joinSettings.code|urlencode }}
{% endif %}
{% if not joinSettings['expire'] %}
{{ (_('The link will be expired at {0}').format(datetimeSpan(joinSettings.expire, relative=false)))|safe }}{% endif %}