From a0f065ed8bc69a40b34e88325e4329242de48e1f Mon Sep 17 00:00:00 2001 From: Deimos Date: Wed, 23 Oct 2019 18:46:43 -0600 Subject: [PATCH] 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. --- tildes/tildes/templates/search.jinja2 | 4 ++-- tildes/tildes/templates/user_search.jinja2 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tildes/tildes/templates/search.jinja2 b/tildes/tildes/templates/search.jinja2 index d6aa205..0d6d407 100644 --- a/tildes/tildes/templates/search.jinja2 +++ b/tildes/tildes/templates/search.jinja2 @@ -6,7 +6,7 @@ {% from 'macros/forms.jinja2' import search_form %} {% 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 %} @@ -15,7 +15,7 @@ {% else %} Search: {% endif %} - "{{ search }}" + {{ search }} {% endblock %} diff --git a/tildes/tildes/templates/user_search.jinja2 b/tildes/tildes/templates/user_search.jinja2 index dee0735..98b331b 100644 --- a/tildes/tildes/templates/user_search.jinja2 +++ b/tildes/tildes/templates/user_search.jinja2 @@ -3,8 +3,8 @@ {% 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 %}