mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: fix homework search display (#1020)
This commit is contained in:
1 parent
261a210da2
commit
e95c4ffa61
1 file changed
-2
@@ -14,7 +14,6 @@
|
|||||||
<option value="list" selected>{{ _('List View') }}</option>
|
<option value="list" selected>{{ _('List View') }}</option>
|
||||||
</select>
|
</select>
|
||||||
</span>
|
</span>
|
||||||
{% if groups.length %}
|
|
||||||
<form method="get" class="filter-form" name="filter-form">
|
<form method="get" class="filter-form" name="filter-form">
|
||||||
<input type="text" class="inline compact textbox" name="q" value="{{ q }}" placeholder="{{ _('Search homeworks...') }}">
|
<input type="text" class="inline compact textbox" name="q" value="{{ q }}" placeholder="{{ _('Search homeworks...') }}">
|
||||||
<select class="inline compact select" name="group">
|
<select class="inline compact select" name="group">
|
||||||
@@ -30,7 +29,6 @@
|
|||||||
{{ _('Search') }}
|
{{ _('Search') }}
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
{% endif %}
|
|
||||||
{% if handler.user.hasPerm(perm.PERM_CREATE_HOMEWORK) %}
|
{% if handler.user.hasPerm(perm.PERM_CREATE_HOMEWORK) %}
|
||||||
<a class="compact button" href="{{ url('homework_create') }}">{{ _('Create Homework') }}</a>
|
<a class="compact button" href="{{ url('homework_create') }}">{{ _('Create Homework') }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in new issue
Block a user