Skip to content

Commit

Permalink
Merge pull request #514 from leepeuker/add-release-date-to-movie-page
Browse files Browse the repository at this point in the history
Add release date to movie pages
  • Loading branch information
leepeuker authored Sep 29, 2023
2 parents b08c60f + 85b476b commit f0f0682
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion templates/page/movie.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

<div style="display: flex;">
<div style="text-align: center">
<img src="{{ movie.posterPath }}" width="200rem" style="width: 11rem;align-self: start;">
<img src="{{ movie.posterPath }}" width="200rem" style="width: 13rem;align-self: start;">
</div>

<div style="padding-left: 1rem">
Expand Down Expand Up @@ -71,6 +71,14 @@
{{ movie.originalLanguage }}
</span>
</div>

<h6 style="margin-bottom: 0.2rem">Release</h6>
<div style="margin-bottom: 0.4rem">
<span class="fw-light">
{% if movie.releaseDate == '' %} - {% endif %}
{{ movie.releaseDate|date(dateFormatPhp) }}
</span>
</div>
</div>
</div>

Expand Down

0 comments on commit f0f0682

Please sign in to comment.