Browse Source

Show group-specific search in header

merge-requests/76/head
Deimos 5 years ago
parent
commit
8e45a66208
  1. 11
      tildes/tildes/templates/search.jinja2

11
tildes/tildes/templates/search.jinja2

@ -8,7 +8,16 @@
{% block title %}Search results for "{{ search }}"{% endblock %}
{% block header_context_link %}<span class="site-header-context">Search: "{{ search }}"</span>{% endblock %}
{% block header_context_link %}
<span class="site-header-context">
{% if group %}
Search in ~{{ group.path }}:
{% else %}
Search:
{% endif %}
"{{ search }}"
</span>
{% endblock %}
{% block filter_info %}
{% if group %}

Loading…
Cancel
Save