{% extends "base.html" %} {% from 'utils.html' import custom_render_form_row,make_tabs %} {% from 'bootstrap/utils.html' import render_icon %} {% from 'bootstrap/form.html' import render_form, render_field, render_form_row %} {% macro make_row(title,items) %}
{% for item in items %} {{item|safe}} {% endfor %}
{% endmacro %} {% macro make_tabs(tabs) %}
{% for (label,items) in tabs %} {% set slug = (label|slugify) %}
{{make_row(label,items)}}
{% endfor %}
{% endmacro %} {% macro make_table(items) %} {% for item in items|sort(attribute="Name")%} {% endfor %}
{{item.Name}} ({{item.ProductionYear}})
{% endmacro %} {% block app_content %}

Jellyfin v{{info.Version}}

{% if status.HasUpdateAvailable %}

Update available

{% endif %} {% if status.HasPendingRestart %}

Restart pending

{% endif %}

Library statistics

{% for name, value in counts.items() %} {% if value != 0 %} {% endif %} {% endfor %}
{{name}} {{value}}
{% if library %}

{{library|count}} Items

{% endif %} {% set tabs = [] %} {% for title,group in library.values()|groupby("Type") %} {% do tabs.append((title,[make_table(group)])) %} {% endfor %} {{make_tabs(tabs)}} {% endblock %}