mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core&ui: fix group filter display
This commit is contained in:
5 files changed
+11
-6
No files matched your search
@@ -20,8 +20,11 @@
|
||||
<select class="inline compact select" name="group">
|
||||
<option value=""{% if not group %} selected{% endif %}>{{ _('All') }}</option>
|
||||
{%- for g in groups -%}
|
||||
<option value="{{ g }}"{% if group == g %} selected{% endif %}>{{ g }}</option>
|
||||
<option value="{{ g }}"{% if group == g %} selected{% endif %}>{{ g }}</option>
|
||||
{%- endfor -%}
|
||||
{%- if not groups|length -%}
|
||||
<option disabled>{{ _('No group available') }}</option>
|
||||
{%- endif -%}
|
||||
</select>
|
||||
<button type="submit" class="compact button hasjs--hide">
|
||||
{{ _('Search') }}
|
||||
|
||||
Reference in new issue
Block a user