{% extends "jocondelab/front_base.html" %}
{% load i18n %}

{% block js_declaration %}
    {{block.super}}
    <script type="text/javascript">
        var queryobj = {% if queryobj %}{{queryobj|safe}}{% else %}null{% endif %};
    </script>
    <script type="text/javascript" src="{{STATIC_URL}}jocondelab/js/front-search.js"></script>
{% endblock %}

{% block title %}JocondeLab &raquo; {% if searchterm %}{% trans 'Résultats pour&nbsp;: &laquo;&nbsp;' %}{{searchterm}}{% trans '&nbsp;&raquo;' %}{% else %}{% trans 'Recherche' %}{% endif %}{% endblock %}

{% block breadcrumbs %}<a href="{% url 'front_search' %}{% if searchterm %}?q={{searchterm|urlencode}}{% endif %}">{% if searchterm %}{% trans 'Résultats pour&nbsp;: &laquo;&nbsp;' %}{{searchterm}}{% trans '&nbsp;&raquo;' %}{% else %}{% trans 'Recherche' %}{% endif %}</a>{% endblock %}

{% block header_search %}{% endblock %}

{% block main %}
            
            <form class="big-search-form search-form">
                <input class="big-search-input search-input" type="search" name="q" value="{{searchterm}}" />
            </form>
            
            <div class="results">{% include 'jocondelab/partial/wrapped_notice_list.html' %}</div>
            
            <div class="loading-please-wait"><img src="{{STATIC_URL}}jocondelab/img/loader.gif" /></div>
            <p class="load-more"><a href="#">{% trans 'Afficher plus de résultats' %}</a></p>
            
{% endblock %}
