ui: add join domain button

This commit is contained in:
undefined committed 2025-04-16 10:32:04 +08:00
1 parent 71eceaa304
commit 083b5b6641
4 files changed
+62 -17

No files matched your search

@@ -6,6 +6,9 @@
<div class="section__tools">
{% if handler.user.hasPriv(model.builtin.PRIV.PRIV_CREATE_DOMAIN) %}
<a class="primary rounded button" href="{{ url('home_domain_create') }}"><span class="icon icon-add"></span> {{ _('Create Domain') }}</a>
{% endif %}
{% if handler.user.hasPriv(model.builtin.PRIV.PRIV_USER_PROFILE) %}
<button class="primary rounded button nojs--hide" id="join-domain-button"><span class="icon icon-add"></span> {{ _('Join Domain') }}</button>
{% endif %}
<a class="tool-button" href="{{ url('wiki_help', anchor='domain') }}"><span class="icon icon-help"></span> {{ _("What's domain?") }}</a>
</div>