{% extends "bootstrap/base.html" %} {% import "bootstrap/fixes.html" as fixes %} {% import 'searchbar.html' as searchbar %} {% block title %} Libreant | {%trans%}Search{%endtrans%}: {{ query }} {% endblock %} {% block navbar %} {% import 'navbar.html' as navbar with context %} {{navbar.navbar(search=False)}} {% endblock %} {% block styles %} {{ super() }} {% endblock styles %} {% block content %}
{% trans num = books|length%}{{num}} result was found for{%pluralize%}{{num}} results were found for{% endtrans %} {{ query }}
{% if not books %}
{% else %}
{% for b in books %}
  • {{ b['_language'] }}
  • {% if 'actors' in b %}
  • {{ b['actors'] | join(',')}}
  • {% endif %} {% if (b['_attachments']|length) > 0 %}
  • {{ b['_attachments'] | length }}
  • {% endif %}
{% endfor %}
{% endif %}
{% endblock content %} {% block scripts %} {{super()}} {% endblock scripts %}