|
@@ -25,8 +25,8 @@
|
25
|
25
|
{% endif %}
|
26
|
26
|
</div>
|
27
|
27
|
{% endfor %}
|
28
|
|
-
|
29
|
|
- {% if not results %}
|
|
28
|
+
|
|
29
|
+ {% if not results and not answers %}
|
30
|
30
|
{% include 'oscar/messages/no_results.html' %}
|
31
|
31
|
{% endif %}
|
32
|
32
|
|
|
@@ -82,7 +82,7 @@
|
82
|
82
|
{% for infobox in infoboxes %}
|
83
|
83
|
{% include 'oscar/infobox.html' %}
|
84
|
84
|
{% endfor %}
|
85
|
|
- {% endif %}
|
|
85
|
+ {% endif %}
|
86
|
86
|
|
87
|
87
|
{% if suggestions %}
|
88
|
88
|
<div class="panel panel-default">
|
|
@@ -111,7 +111,7 @@
|
111
|
111
|
<input id="search_url" type="url" class="form-control select-all-on-click cursor-text" name="search_url" value="{{ base_url }}?q={{ q|urlencode }}&pageno={{ pageno }}{% if selected_categories %}&category_{{ selected_categories|join("&category_")|replace(' ','+') }}{% endif %}" readonly>
|
112
|
112
|
</div>
|
113
|
113
|
</form>
|
114
|
|
-
|
|
114
|
+
|
115
|
115
|
<label>{{ _('Download results') }}</label>
|
116
|
116
|
<div class="clearfix"></div>
|
117
|
117
|
{% for output_type in ('csv', 'json', 'rss') %}
|
|
@@ -122,7 +122,7 @@
|
122
|
122
|
<input type="hidden" name="pageno" value="{{ pageno }}">
|
123
|
123
|
<button type="submit" class="btn btn-default">{{ output_type }}</button>
|
124
|
124
|
</form>
|
125
|
|
- {% endfor %}
|
|
125
|
+ {% endfor %}
|
126
|
126
|
<div class="clearfix"></div>
|
127
|
127
|
</div>
|
128
|
128
|
</div>
|