Merge branch '3.x'

This commit is contained in:
Takeshi KOMIYA 2021-04-09 01:04:06 +09:00
commit dfc0a2879e

View File

@ -20,6 +20,7 @@
{% endblock %}
{% block body %}
<h1 id="search-documentation">{{ _('Search') }}</h1>
{% block scriptwarning %}
<div id="fallback" class="admonition warning">
<script>$('#fallback').hide();</script>
<p>
@ -27,15 +28,21 @@
functionality.{% endtrans %}
</p>
</div>
{% endblock %}
{% block searchtext %}
<p>
{% trans %}Searching for multiple words only shows matches that contain
all words.{% endtrans %}
</p>
{% endblock %}
{% block searchbox %}
<form action="" method="get">
<input type="text" name="q" aria-labelledby="search-documentation" value="" />
<input type="submit" value="{{ _('search') }}" />
<span id="search-progress" style="padding-left: 10px"></span>
</form>
{% endblock %}
{% block searchresults %}
{% if search_performed %}
<h2>{{ _('Search Results') }}</h2>
{% if not search_results %}
@ -53,4 +60,5 @@
</ul>
{% endif %}
</div>
{% endblock %}
{% endblock %}