mirror of
https://github.com/partitioncloud/partitioncloud-server.git
synced 2025-01-24 01:36:25 +01:00
24 lines
626 B
HTML
24 lines
626 B
HTML
{% extends 'base.html' %}
|
|
|
|
{% block header %}
|
|
<h1>{% block title %}{{ album["name"] }}{% endblock %}</h1>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
{% if not_participant %}
|
|
<a href="/albums/{{ album['uuid'] }}/join">
|
|
<button id="join-album">Rejoindre</button>
|
|
</a>
|
|
{% endif %}
|
|
{% if partitions|length != 0 %}
|
|
{% for partition in partitions %}
|
|
<a href="{{ album['uuid'] }}/{{ partition['uuid'] }}">
|
|
<div class="partition-cover" id="partition-{{ partition['uuid'] }}">
|
|
{{ partition["name"] }}
|
|
</div>
|
|
</a>
|
|
{% endfor %}
|
|
{% else %}
|
|
<div>Aucune partition disponible</div>
|
|
{% endif %}
|
|
{% endblock %} |