{% load i18n %}
{% load jlutils %}

<h2 class="resultcount"><b>{{count}}</b> {% if searchterm %}{% trans 'résultats pour :' %} <b>{{searchterm}}</b>{% else %}{% trans 'résultats' %}{% endif %}</h2>

<ul class="notice-list clearfix"{% if page_count %} data-page-count="{{page_count}}"{% endif %} data-current-page="{{current_page}}">
{% if wkinfo %}
    <li class="wiki-info" data-dbpedia-uri="{{wkinfo.dbpedia_uri}}">
        {% if wkinfo.thumbnail %}
        <a href="{{wkinfo.label|wikiurl:lang}}" target="_blank">
            <img class="wiki-info-image" src="{{wkinfo.thumbnail}}" alt="{{wkinfo.label}}" />
        </a>
        {% endif %}
        <h3 class="wiki-info-title">
            <a href="{{wkinfo.label|wikiurl:lang}}" target="_blank">{{wkinfo.label}}</a>
        </h3>
        <p class="wiki-info-abstract">{{wkinfo.abstract|default_if_none:""}}</p>
        <p class="wiki-info-source">
            <a href="{{wkinfo.label|wikiurl:lang}}" target="_blank">{% trans 'Source : Wikipédia' %}</a>
        </p>
    </li>
{% endif %}
{% include 'jocondelab/partial/notice_list.html' %}
</ul>