ui: allow using ui.name

This commit is contained in:
undefined committed 2021-07-31 15:18:19 +08:00
1 parent bb67a39e58
commit 588fd0e1fb
14 files changed
+20 -16

No files matched your search

@@ -1,6 +1,6 @@
{% extends "layout/mail.html" %}
{% block title %}{{ _('Change Email') }}{% endblock %}
{% block content %}
<p>{{ _('Hello, {0}! You can click following link to active your new email of your {1} account:').format(uname, model.system.get('server.name')) }}</p>
<p>{{ _('Hello, {0}! You can click following link to active your new email of your {1} account:').format(uname, handler.domain.ui.name|default(model.system.get('server.name'))) }}</p>
<p><a href="{{ url_prefix }}{{ path }}">{{ url_prefix }}{{ path }}</a></p>
{% endblock %}