{% extends 'base.html' %} {% block header %}

{% block title %}{{ album.name }}{% endblock %}

{% endblock %} {% block header_actions %}
{% for album_user in album.users %}
{{ album_user.username[0] | upper }}
{% endfor %}
{% endblock %} {% block content %} {% if partitions|length != 0 %}

{% for partition in partitions | reverse %}
{{ partition["name"] }}
{{ partition["author"] }}
{% if partition["user_id"] == g.user.id or g.user.access_level == 1 %}
✏️
{% endif %}
{% endfor %}
{% else %}
Aucune partition disponible
{% endif %} {% endblock %}