mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: fix domain_join link
This commit is contained in:
4 files changed
+6
-5
No files matched your search
@@ -16,8 +16,7 @@
|
||||
<p>{{ _('By clicking the button, you will become a member of the domain {0}.').format(domainInfo['name']) }}</p>
|
||||
</div>
|
||||
<div class="section__body typo">
|
||||
<p>{{ _('The domain owner:') }}</p>
|
||||
{{ user.render_inline(domainInfo['owner']) }}
|
||||
<p>{{ _('The domain owner:') }} {{ user.render_inline(domainInfo['owner']) }}</p>
|
||||
</div>
|
||||
{% if domainInfo['bulletin'] %}
|
||||
<div class="section__body typo">
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<li class="menu__item"><a class="menu__link" href="javascript:showSignInDialog();">
|
||||
<span class="icon icon-add"></span> {{ _('Login to Create a Discussion') }}</a></li>
|
||||
{% elif not handler.user._dudoc.join %}
|
||||
<li class="menu__item"><a class="menu__link" href="javascript:joinDomain();">
|
||||
<li class="menu__item"><a class="menu__link" href="/domain/join?target={{ pdoc.domainId }}">
|
||||
<span class="icon icon-add"></span> {{ _('Join Domain to Create a Discussion') }}</a></li>
|
||||
{% else %}
|
||||
<li class="menu__item"><a class="menu__link disabled" href="javascript:;">
|
||||
@@ -50,7 +50,7 @@
|
||||
<span class="icon icon-send"></span> {{ _('Login to Submit') }}
|
||||
</a></li>
|
||||
{% elif not handler.user._dudoc.join %}
|
||||
<li class="menu__item scratchpad--hide"><a class="menu__link disabled{% if page_name == 'problem_submit' %} active{% endif %}" href="javascript:joinDomain();">
|
||||
<li class="menu__item scratchpad--hide"><a class="menu__link{% if page_name == 'problem_submit' %} active{% endif %}" href="/domain/join?target={{ pdoc.domainId }}">
|
||||
<span class="icon icon-send"></span> {{ _('Join Domain to Submit') }}
|
||||
</a></li>
|
||||
{% else %}
|
||||
|
||||
Reference in new issue
Block a user