- turbo-stream for Chapter updates - progressbar for chapter scrapping - minor optimisations
22 lines
655 B
Twig
22 lines
655 B
Twig
{% 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 %}
|