{% import "photo_card.html" as photo_card %} {% import "header.html" as header %} {% import "clipboard_tray.html" as clipboard_tray %} {{album.display_name}} | Albums {{header.make_header(session=session)}}

{{album.display_name}}

        {{-album.description-}}
    
{% set photos = album.get_photos() %} {% if photos %}

{{photos|length}} Photos

{% if view != "list" %} List view {% else %} Grid view {% endif %} {% endif %}

{% set has_local_photos = photos|length > 0 %} {% set has_child_photos = album.has_any_subalbum_photo() %} {% if has_local_photos or has_child_photos %} Download: {% if has_local_photos %} These files ({{album.sum_bytes(recurse=False)|bytestring }}) {% endif %} {% if has_local_photos and has_child_photos %}—{% endif %} {% if has_child_photos %} Include children ({{album.sum_bytes(recurse=True)|bytestring }}) {% endif %} {% endif %}

{{clipboard_tray.clipboard_tray()}}