{% if not raw %} {% if serie.index %} {% endif %} {% if serie.link %} {% endif %} {% if serie.note %} {{ include('models/note.html', {note: serie.note, endpoint: endpoint, dbNum: dbNum}, with_context = false) }} {% endif %} {% if serie.authors %} {% for author in serie.authors %} {% endfor %} {% endif %} {% if serie.books %} {% for book in serie.books %} {% endfor %} {% endif %}
Title {{serie.title}}
Index {{serie.index}}
Link {{serie.link}}
Authors {{serie.authors|length}}
Author {{author.id}} {{ include('models/author.html', {author: author, endpoint: endpoint, dbNum: dbNum}, with_context = false) }}
Books {{serie.books|length}}
Book {{book.id}} {{ include('models/book.html', {book: book, endpoint: endpoint, dbNum: dbNum}, with_context = false) }}
{% else %}
{{serie|json_encode(constant('JSON_PRETTY_PRINT') b-or constant('JSON_UNESCAPED_SLASHES') b-or constant('JSON_UNESCAPED_UNICODE'))}}
{% endif %}