mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: fix domain_join link generation
This commit is contained in:
1 parent
24aee0a033
commit
0b71b089e0
2 files changed
+3
-3
No files matched your search
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@hydrooj/ui-default",
|
"name": "@hydrooj/ui-default",
|
||||||
"version": "4.35.5",
|
"version": "4.35.6",
|
||||||
"author": "undefined <i@undefined.moe>",
|
"author": "undefined <i@undefined.moe>",
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"main": "hydro.js",
|
"main": "hydro.js",
|
||||||
|
|||||||
@@ -7,10 +7,10 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="section__body typo">
|
<div class="section__body typo">
|
||||||
<p>{{ _('User can join this domain by visiting the following URL') }}:</p>
|
<p>{{ _('User can join this domain by visiting the following URL') }}:</p>
|
||||||
<pre><code class="language-data">{{ url_prefix|safe }}domain/join?domainId={{ handler.args.domainId }}</code></pre>
|
<pre><code class="language-data">{{ url_prefix|safe }}d/{{ handler.args.domainId }}/domain/join</code></pre>
|
||||||
{% if joinSettings['method'] == model.domain.JOIN_METHOD_CODE %}
|
{% if joinSettings['method'] == model.domain.JOIN_METHOD_CODE %}
|
||||||
<p>{{ _('Or, with automatically filled invitation code') }}:</p>
|
<p>{{ _('Or, with automatically filled invitation code') }}:</p>
|
||||||
<pre><code class="language-data">{{ url_prefix|safe }}domain/join?domainId={{ handler.args.domainId }}&code={{ joinSettings.code|urlencode }}</code></pre>
|
<pre><code class="language-data">{{ url_prefix|safe }}d/{{ handler.args.domainId }}/domain/join?code={{ joinSettings.code|urlencode }}</code></pre>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if joinSettings.expire %}
|
{% if joinSettings.expire %}
|
||||||
<br/>
|
<br/>
|
||||||
|
|||||||
Reference in new issue
Block a user