Browse Source

Remove quotes around displayed search queries

Now that people can use quotes inside searches, it's awkward to be
displaying them with quotes already around them. This should remove
everywhere that could have been happening.
merge-requests/85/head
Deimos 5 years ago
parent
commit
a0f065ed8b
  1. 4
      tildes/tildes/templates/search.jinja2
  2. 4
      tildes/tildes/templates/user_search.jinja2

4
tildes/tildes/templates/search.jinja2

@ -6,7 +6,7 @@
{% from 'macros/forms.jinja2' import search_form %} {% from 'macros/forms.jinja2' import search_form %}
{% from 'macros/links.jinja2' import link_to_group %} {% from 'macros/links.jinja2' import link_to_group %}
{% block title %}Search results for "{{ search }}"{% endblock %}
{% block title %}Search results: {{ search }}{% endblock %}
{% block header_context_link %} {% block header_context_link %}
<span class="site-header-context"> <span class="site-header-context">
@ -15,7 +15,7 @@
{% else %} {% else %}
Search: Search:
{% endif %} {% endif %}
"{{ search }}"
{{ search }}
</span> </span>
{% endblock %} {% endblock %}

4
tildes/tildes/templates/user_search.jinja2

@ -3,8 +3,8 @@
{% extends 'user.jinja2' %} {% extends 'user.jinja2' %}
{% block title %}Search {{ user }}'s posts for "{{ search }}"{% endblock %}
{% block title %}Search {{ user }}'s posts: {{ search }}{% endblock %}
{% block main_heading %}Search results for "{{ search }}"{% endblock %}
{% block main_heading %}Search results: {{ search }}{% endblock %}
{% block no_posts_message %}No results found{% endblock %} {% block no_posts_message %}No results found{% endblock %}
Loading…
Cancel
Save