mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 09:46:28 +08:00
ui: add join domain button
This commit is contained in:
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>
|
||||
|
||||
Reference in new issue
Block a user