|
16 | 16 | {% if movie.tagline is not null %} |
17 | 17 | <small class="d-block text-body-secondary fst-italic my-2">{{ movie.tagline }}</small> |
18 | 18 | {% endif %} |
19 | | - |
20 | | - <div class="my-2"> |
21 | | - {% if movie.tmdbId %} |
22 | | - <a href="https://www.themoviedb.org/movie/{{ movie.tmdbId }}" class="badge text-bg-secondary" target="_blank">TMDB</a> |
23 | | - {% endif %} |
24 | | - {% if movie.tvdbId %} |
25 | | - <a href="https://www.thetvdb.com/dereferrer/movie/{{ movie.tvdbId }}" class="badge text-bg-secondary" target="_blank">TVDB</a> |
26 | | - {% endif %} |
27 | | - </div> |
28 | | - |
29 | | - {% if movie.runtime is not null %} |
30 | | - <small class="d-block text-body-secondary"><i class="fa-solid fa-clock"></i> {{ "runtime"|trans({"%runtime%": movie.runtime}) }}</small> |
31 | | - {% endif %} |
32 | | - |
33 | | - <small class="d-block text-body-secondary"><i class="fa-solid fa-calendar"></i> {{ movie.year }}</small> |
34 | 19 | </div> |
35 | 20 |
|
36 | 21 | {% include "components/view-buttons.twig" with {"type": "movie", "item": movie} only %} |
|
44 | 29 | </div> |
45 | 30 | </div> |
46 | 31 |
|
47 | | - {% if movie.movieSet %} |
48 | | - <div class="mt-4"> |
49 | | - <h2>{{ movie.movieSet.title }}</h2> |
| 32 | + <div class="row mt-3"> |
| 33 | + <div class="col-lg-3 col-12"> |
| 34 | + <h3 class="mb-3">{{ "movies.details.title"|trans }}</h3> |
50 | 35 |
|
51 | | - {% include "components/movie-list-small.twig" with {"movies": movie.movieSet.movies} %} |
| 36 | + <div class="vstack gap-2 mx-auto"> |
| 37 | + {% if movie.tmdbId %} |
| 38 | + <a href="https://www.themoviedb.org/movie/{{ movie.tmdbId }}" class="badge text-bg-secondary" target="_blank">TMDB</a> |
| 39 | + {% endif %} |
| 40 | + {% if movie.tvdbId %} |
| 41 | + <a href="https://www.thetvdb.com/dereferrer/movie/{{ movie.tvdbId }}" class="badge text-bg-secondary" target="_blank">TVDB</a> |
| 42 | + {% endif %} |
| 43 | + |
| 44 | + {% if movie.runtime is not null %} |
| 45 | + <small class="d-block text-body-secondary"><i class="fa-solid fa-clock"></i> {{ "runtime"|trans({"%runtime%": movie.runtime}) }}</small> |
| 46 | + {% endif %} |
| 47 | + |
| 48 | + <small class="d-block text-body-secondary"><i class="fa-solid fa-calendar"></i> {{ movie.year }}</small> |
| 49 | + </div> |
52 | 50 | </div> |
53 | | - {% endif %} |
| 51 | + |
| 52 | + <div class="col-lg-9 col-12"> |
| 53 | + {% if movie.movieSet %} |
| 54 | + <h3 class="mb-3">{{ movie.movieSet.title }}</h3> |
| 55 | + |
| 56 | + <div class="overflow-x-auto d-flex flex-nowrap gap-3 pb-3" id="movie-set"> |
| 57 | + {% for thisMovie in movie.movieSet.movies %} |
| 58 | + {% include "components/movie-card-small.twig" with {"movie": thisMovie, "showWatchStats": false} %} |
| 59 | + {% endfor %} |
| 60 | + </div> |
| 61 | + {% endif %} |
| 62 | + </div> |
| 63 | + </div> |
54 | 64 | {% endblock %} |
0 commit comments