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/default/infobox.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'searx/templates/default') diff --git a/searx/templates/default/infobox.html b/searx/templates/default/infobox.html index 178a27e6d..ce26ac578 100644 --- a/searx/templates/default/infobox.html +++ b/searx/templates/default/infobox.html @@ -1,18 +1,18 @@
-

{{ infobox.infobox }}

+

{{ infobox.infobox }}

{% if infobox.img_src %}{{ infobox.infobox|striptags }}{% endif %} -

{{ infobox.entity }}

-

{{ infobox.content | safe }}

+

{{ infobox.entity }}

+

{{ infobox.content | safe }}

{% if infobox.attributes %}
{% for attribute in infobox.attributes %} - + {% if attribute.image %} {% else %} - + {% endif %} {% endfor %} @@ -24,7 +24,7 @@
@@ -34,7 +34,7 @@
{% for topic in infobox.relatedTopics %}
-

{{ topic.name }}

+

{{ topic.name }}

{% for suggestion in topic.suggestions %}
-- cgit v1.2.3
{{ attribute.label }}{{ attribute.label }}{{ attribute.image.alt }}{{ attribute.value }}{{ attribute.value }}