mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: bug fix
This commit is contained in:
1 file changed
+1
-1
@@ -71,7 +71,7 @@
|
|||||||
<select class="inline compact select" name="rule">
|
<select class="inline compact select" name="rule">
|
||||||
<option value=""{% if not rule %} selected{% endif %}>{{ _('All') }}</option>
|
<option value=""{% if not rule %} selected{% endif %}>{{ _('All') }}</option>
|
||||||
{%- for k, v in model.contest.RULES -%}
|
{%- for k, v in model.contest.RULES -%}
|
||||||
{% if not k.hidden %}
|
{% if not v.hidden %}
|
||||||
<option value="{{ k }}"{% if rule == k %} selected{% endif %}>{{ _('All {0} Contests').format(v.TEXT) }}</option>
|
<option value="{{ k }}"{% if rule == k %} selected{% endif %}>{{ _('All {0} Contests').format(v.TEXT) }}</option>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
|
|||||||
Reference in new issue
Block a user