HTML Entities + Use the right template

Courgette was using the wrong template. I assume it was a mistake.
This commit is contained in:
Cqoicebordel 2014-12-10 18:09:21 +01:00
parent 41aca9a068
commit 18f772615b
1 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@
<div id="search_url">
{{ _('Search URL') }}:
<input type="text" value="{{ base_url }}?q={{ q|urlencode }}&pageno={{ pageno }}{% if selected_categories %}&category_{{ selected_categories|join("&category_") }}{% endif %}" readonly="" />
<input type="text" value="{{ base_url }}?q={{ q|urlencode }}&amp;pageno={{ pageno }}{% if selected_categories %}&amp;category_{{ selected_categories|join("&category_")|replace(' ','+') }}{% endif %}" readonly />
</div>
<div id="apis">
{{ _('Download results') }}
@ -43,9 +43,9 @@
{% for result in results %}
{% if result['template'] %}
{% include 'default/result_templates/'+result['template'] %}
{% include 'courgette/result_templates/'+result['template'] %}
{% else %}
{% include 'default/result_templates/default.html' %}
{% include 'courgette/result_templates/default.html' %}
{% endif %}
{% endfor %}