Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a697a1ea authored by Thomas Pointhuber's avatar Thomas Pointhuber
Browse files

oscar template: display answers

parent 0e1035ea
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -6,6 +6,14 @@
            <h1 class="sr-only">{{ _('Search results') }}</h1>
            {% include 'oscar/search.html' %}

            {% if answers %}
            {% for answer in answers %}
            <div class="result well">
                <span>{{ answer }}</span>
            </div>
            {% endfor %}
            {% endif %}

            {% for result in results %}
            <div class="result {% if result['template'] %}result-{{ result.template|replace('.html', '') }}{% else %}result-default{% endif %}">
                {% set index = loop.index %}