forked from mirror/MrDoc
优化全文搜索无结果时提示切换精准搜索
This commit is contained in:
parent
0762102cb1
commit
2d1b5d6952
@ -207,7 +207,7 @@
|
||||
<a href="{% url 'pro_index' pro_id=result.object.top_doc %}" target="_blank">{{ result.object.top_doc | get_doc_top }}</a> - <span style="font-size: 14px;color: #999;">{{result.object.modify_time}}</span></p>
|
||||
</div>
|
||||
{% empty %}
|
||||
<p>{% trans "没有搜索结果。" %}</p>
|
||||
<p>{% trans "没有搜索结果。" %}试试<a href="{% url 'search' %}?kw={{query}}&type=doc&d_range={{d_range}}">精准搜索?</a></p>
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
{# Show some example queries to run, maybe query syntax, something else? #}
|
||||
|
Loading…
x
Reference in New Issue
Block a user