Permalink
Browse files

remove useless if around pattern variable

  • Loading branch information...
1 parent 5e5dd7a commit d3e0457e597d11d433b9a96ed8648ce449469d32 @Fantomas42 committed Apr 1, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 zinnia/templates/zinnia/entry_search.html
View
4 zinnia/templates/zinnia/entry_search.html
@@ -1,9 +1,9 @@
{% extends "zinnia/entry_list.html" %}
{% load i18n zinnia_tags %}
-{% block title %}{% trans "Search results for" %} {% if pattern %}'{{ pattern }}'{% endif %}{% endblock %}
+{% block title %}{% trans "Search results for" %} '{{ pattern }}'{% endblock %}
-{% block meta-description %}{% trans "Search results for" %} {% if pattern %}'{{ pattern }}'{% endif %}{% endblock %}
+{% block meta-description %}{% trans "Search results for" %} '{{ pattern }}'{% endblock %}
{% block link %}
{{ block.super }}

0 comments on commit d3e0457

Please sign in to comment.