{% extends "domain_base.html" %} {% block domain_content %} {% if join_settings != None %}
{{ _('User can join this domain by visiting the following URL') }}:
{{ handler.ui_context['url_prefix'] }}{{ reverse_url('domain_join') }}
{% if join_settings['method'] == vj4.constant.domain.JOIN_METHOD_CODE %}
{{ _('Or, with automatically filled invitation code') }}:
{{ handler.ui_context['url_prefix'] }}{{ reverse_url('domain_join') }}?code={{ join_settings['code']|urlencode }}
{% endif %}
{% if join_settings['expire'] != None %}
{{ (_('The link will be expired at {0}').format(datetime_span(join_settings['expire'], relative=false)))|safe }}{% endif %}