mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: remove incomplete uninvite key
This commit is contained in:
1 parent
be30945487
commit
ae4800b779
4 files changed
+6
-20
No files matched your search
@@ -35,7 +35,7 @@
|
||||
<p>{{ _('The contest is a flexible time contest. You need to complete the contest within a specified time after you attended.') }}</p>
|
||||
</blockquote>
|
||||
{% endif %}
|
||||
{% if tdoc.code and tdoc.uninvite %}
|
||||
{% if tdoc.code %}
|
||||
<blockquote class="note">
|
||||
<p>{{ _('The contest is a invitational contest. However it allow users attend contest without the invitation code. Those users will not be ranked.') }}</p>
|
||||
</blockquote>
|
||||
|
||||
@@ -117,21 +117,13 @@
|
||||
</div>
|
||||
<div style="display: none" data-perm="invite">
|
||||
{{ form.form_text({
|
||||
columns:6,
|
||||
columns:9,
|
||||
label:'Invitation Code',
|
||||
name:'code',
|
||||
placeholder:_('(leave blank if none)'),
|
||||
value:tdoc._code|default(''),
|
||||
disabled:true,
|
||||
row:false
|
||||
}) }}
|
||||
{{ form.form_checkbox({
|
||||
columns:3,
|
||||
label:'Allow unranked attendance',
|
||||
name:'uninvite',
|
||||
placeholder:_("Allow user who doesn't have a invitation code join unranked"),
|
||||
value:tdoc.uninvite|default(true),
|
||||
row:false
|
||||
}) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user