- modal backdrop, pas de backdrop, pas de problème...
This commit is contained in:
Jérémy Guillot
2024-06-10 15:25:06 +02:00
parent c46e1a0a5c
commit 0455ab40d9
5 changed files with 69 additions and 12 deletions

View File

@@ -97,9 +97,9 @@
<tbody>
{% for chapter in chapters %}
<tr class="border-t hover:bg-green-100">
{% if chapter.pages|length > 0 %}
{% if chapter.pagesLink|length > 0 %}
<td class="px-4 py-2 text-green-500">
<a href="{{ path('read_chapter_page', { mangaSlug: manga.slug, chapterNumber: chapter.number }) }}">
<a href="{{ path('read_chapter_page', { mangaSlug: manga.slug, chapterNumber: chapter.number, pageNumber: 1 }) }}">
{{ chapter.number }}</a>
</td>
{% else %}
@@ -107,7 +107,7 @@
{% endif %}
<td class="px-4 py-2 w-full text-left">
{% if chapter.pages|length > 0 %}
{% if chapter.pagesLink|length > 0 %}
<a class=""
href="{{ path('read_chapter_page', { mangaSlug: manga.slug, chapterNumber: chapter.number }) }}">{{ chapter.title ?? 'No title' }}</a>
{% else %}