- turbo-stream for Chapter updates
- progressbar for chapter scrapping
- minor optimisations
This commit is contained in:
Jérémy Guillot
2024-07-17 20:20:19 +02:00
parent 4672886a67
commit 7fc2f15f6b
14 changed files with 111 additions and 63 deletions

View File

@@ -0,0 +1,21 @@
{% block create %}
<turbo-stream action="prepend" target="volume-{{ entity.volume }}">
<template>
{% include 'manga/_chapter_row.html.twig' with { chapter: entity, manga: entity.manga } %}
</template>
</turbo-stream>
{% endblock %}
{% block update %}
<turbo-stream action="remove" target="activity-{{ entity.id }}"></turbo-stream>
<turbo-stream action="replace" target="chapter-{{ entity.id }}">
<template>
{% include 'manga/_chapter_row.html.twig' with { chapter: entity, manga: entity.manga } %}
</template>
</turbo-stream>
{% endblock %}
{% block remove %}
{% endblock %}