{% extends 'index.html' %} {% block content %}
{{actionTitle}} in {{dbConfig.name}} {% if authorId %} Author {% else %} Author {% endif %} {% if series is defined %} {% if seriesId %} Series {% else %} Series {% endif %} {% endif %} {{ include('links.html', {itemId: authorId}) }}
{% for type in identifiers %} {% endfor %} {% for item in books %} {% for type in identifiers %} {% endfor %} {% endfor %}
Id Title | Sort {% if seriesId %} Index {% else %} Series {% endif %} Action{{type}}
{{item.id}} {{item.title}} {% if item.series %} {% if seriesId and item.series == seriesId %} #{{ item.series_index }} {% elseif series is defined and series[item.series] is defined %} {{series[item.series]}} #{{ item.series_index }} {% else %} {{ item.series }} #{{ item.series_index }} {% endif %} {% endif %} {% if matchId %} {% if bookId == item.id %} Match {% else %} Match {% endif %} {% elseif bookId == item.id %} Search {% else %} Search {% endif %} {% if item.identifiers[type] is defined %} {% set identifier = item.identifiers[type] %} {% if type == 'ID:' or type == identifierType %} {% set label = identifier.value %} {% else %} {% set label = ' Y ' %} {% endif %} {% if identifier.url %} {{label}} {% else %} {{label}} {% endif %} {% endif %}
{% block lookup %} {% if bookId %}

Database Book

{{ include('links.html', {itemId: authorId}) }}

{% if not raw %} See raw {% else %} See parsed {% endif %} {{ include('models/book.html', {book: bookInfo, endpoint: endpoint, dbNum: dbNum, raw: raw}, with_context = false) }}
{% endif %} {% endblock lookup %} {% endblock content %}