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

<h2 class="resultcount">
{% if searchterms_label %}
    {% if count %}
        {% blocktrans count counter=count %}
            <b>{{count}}</b> résultat pour <b>&laquo;&nbsp;{{searchterms_label}}&nbsp;&raquo;</b>
        {% plural %}
            <b>{{count}}</b> résultats pour <b>&laquo;&nbsp;{{searchterms_label}}&nbsp;&raquo;</b>
        {% endblocktrans %}
    {% else %}
        {% blocktrans %}Aucun résultat pour <b>&laquo;&nbsp;{{searchterms_label}}&nbsp;&raquo;</b>{% endblocktrans %}
    {% endif %}
{% else %}
    {% blocktrans %}<b>{{count}}</b> œuvres des musées de France{% endblocktrans %}
{% 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}}" onload="window.onWikiImageLoad();" onerror="window.onWikiImageError(this);" />
        </a>
        {% endif %}
        <h3 class="wiki-info-title">
            <a href="{{wkinfo.label|wikiurl:lang}}" target="_blank">{{wkinfo.label}}</a>
        </h3>
        <p class="wiki-info-source">
            <a href="{{wkinfo.label|wikiurl:lang}}" target="_blank">{% trans 'Source&nbsp;: Wikipédia' %}</a>
        </p>
        <p class="wiki-info-abstract">{{wkinfo.abstract|default_if_none:""}}</p>
    </li>
{% endif %}
{% include 'jocondelab/partial/notice_list.html' %}
</ul>