18 lines
788 B
HTML
18 lines
788 B
HTML
{% load thumb %}
|
|
{% load i18n %}
|
|
{% load l10n %}
|
|
{% for member in members %}
|
|
{% include '_list_item.html' with item=member.item mark=None collection_member=member %}
|
|
{% if forloop.last %}
|
|
<div hx-get="{% url 'journal:collection_retrieve_items' collection.uuid %}?last_pos={{ member.position }}&last_member={{ member.id }}&edit={{ request.GET.edit }}"
|
|
hx-trigger="{% if request.GET.edit %}load{% else %}revealed{% endif %}"
|
|
hx-swap="outerHTML">
|
|
<i class="fa-solid fa-compact-disc fa-spin loading"></i>{{ member.position }}
|
|
</div>
|
|
{% endif %}
|
|
{% empty %}
|
|
{% if not request.GET.last_pos %}
|
|
{% trans "nothing so far." %}
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% if msg %}<script type="text/javascript">alert("{{ msg|escapejs }}");</script>{% endif %}
|