+ {% if number_of_results != '0' -%}
+
+
+ {{ _('Number of results') }}: {{ number_of_results }}
+ {%- endif %} + + {% if unresponsive_engines and results|length >= 1 -%} +
+
+ {%- endif %}
+
+ {% if infoboxes -%}
+ {% for infobox in infoboxes %}
+ {% include 'oscar/infobox.html' %}{{- "\n\n" -}}
+ {% endfor %}
+ {%- endif %}
+
+ {% if suggestions %}
+ {{ _('Engines cannot retrieve results') }}:
+ {%- for engine_name, error_type in unresponsive_engines -%} + {{- engine_name }} ({{ error_type }}){% if not loop.last %}, {% endif %}{{- "" -}} + {%- endfor -%} +
+
+ {%- endif %}
+
+
+
+ {{ _('Suggestions') }}
+
+ {% for suggestion in suggestions %}
+
+ {% endfor %}
+
+
+
+ {{- "" -}}
+
+ {{ _('Links') }}
{{- "" -}} +
+
+
+
+ {% for output_type in ('csv', 'json', 'rss') %}
+
+ {% endfor %}
+
+
+ {{ _('Search results') }}
{% if corrections -%} @@ -91,66 +152,5 @@ {% endif %} {% endif %}
- {% if number_of_results != '0' -%}
-
{{ _('Number of results') }}: {{ number_of_results }}
- {%- endif %} - - {% if unresponsive_engines and results|length >= 1 -%} -
-
- {%- endif %}
-
- {% if infoboxes -%}
- {% for infobox in infoboxes %}
- {% include 'oscar/infobox.html' %}{{- "\n\n" -}}
- {% endfor %}
- {%- endif %}
-
- {% if suggestions %}
- {{ _('Engines cannot retrieve results') }}:
- {%- for engine_name, error_type in unresponsive_engines -%} - {{- engine_name }} ({{ error_type }}){% if not loop.last %}, {% endif %}{{- "" -}} - {%- endfor -%} -
-
- {%- endif %}
-
-
-
- {{ _('Suggestions') }}
-
- {% for suggestion in suggestions %}
-
- {% endfor %}
-
-
-
- {{- "" -}}
-
- {{ _('Links') }}
{{- "" -}} -
-
-
-
- {% for output_type in ('csv', 'json', 'rss') %}
-
- {% endfor %}
-
-
-