From a0a1284998946bdc446283552674263240b4fd0f Mon Sep 17 00:00:00 2001 From: marc Date: Mon, 6 Jun 2016 01:08:36 -0500 Subject: wikidata refactor and more attributes (see issue #560) --- searx/templates/oscar/infobox.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'searx/templates/oscar/infobox.html') diff --git a/searx/templates/oscar/infobox.html b/searx/templates/oscar/infobox.html index c72cfb638..70d12f2fb 100644 --- a/searx/templates/oscar/infobox.html +++ b/searx/templates/oscar/infobox.html @@ -1,21 +1,20 @@
-

{{ infobox.infobox }}

+

{{ infobox.infobox }}

- {% if infobox.img_src %}{{ infobox.infobox }}{% endif %} - {% if infobox.content %}

{{ infobox.content }}

{% endif %} + {% if infobox.content %}

{{ infobox.content }}

{% endif %} {% if infobox.attributes %} {% for attribute in infobox.attributes %} - + {% if attribute.image %} {% else %} - + {% endif %} {% endfor %} @@ -24,11 +23,12 @@ {% if infobox.urls %}
+ {% for url in infobox.urls %}

{{ url.title }}

{% endfor %} +
{% endif %} - -- cgit v1.2.3-54-g00ecf
{{ attribute.label }}{{ attribute.label }}{{ attribute.image.alt }}{{ attribute.value }}{{ attribute.value }}