display fixes
[wolnelektury.git] / wolnelektury / templates / catalogue / search_no_hits.html
index 50ad2d3..3b1e85b 100644 (file)
 
     <div class="left-column">
     <div class="normal-text">
+      <p>    
+       {% if did_you_mean %}
+       <span class="did_you_mean">{% trans "Did you mean" %} <a href="{% url search %}?q={{did_you_mean|urlencode}}">{{did_you_mean|lower}}</a>?</span>
+       {% endif %}
+      </p>
         <p>{% trans "Sorry! Search cirteria did not match any resources." %}</p>
 
                <p>{% blocktrans %}Search engine supports following criteria: title, author, theme/topic, epoch, kind and genre.