Display title instead of original_title

master
Guillaume Dott 2015-11-23 12:44:44 +01:00
parent 237ca321f2
commit ba4b257d20
4 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
= movie.title = movie.title
.movie data-id="#{movie.id}" .movie data-id="#{movie.id}"
h1 = movie.original_title h1 = movie.title
.poster .poster
- if movie.poster_path - if movie.poster_path
img src="#{poster_url(movie.poster_path, 'w154')}" img src="#{poster_url(movie.poster_path, 'w154')}"

View File

@ -3,7 +3,7 @@
img src="#{poster_url(movie.poster_path, 'w92')}" img src="#{poster_url(movie.poster_path, 'w92')}"
.informations .informations
h2 h2
a href="#{url("/movie/#{movie.id}")}" #{movie.original_title} a href="#{url("/movie/#{movie.id}")}" #{movie.title}
.actions .actions
- if movie.added? - if movie.added?
- unless movie.viewed? - unless movie.viewed?

View File

@ -3,7 +3,7 @@
img src="#{poster_url(movie.poster_path, 'w154')}" img src="#{poster_url(movie.poster_path, 'w154')}"
.informations .informations
h2 h2
a href="#{url("/movie/#{movie.id}")}" #{movie.original_title} a href="#{url("/movie/#{movie.id}")}" #{movie.title}
p = movie.release_date p = movie.release_date
p = movie.overview p = movie.overview
ul.genres ul.genres

View File

@ -4,4 +4,4 @@
img src="#{poster_url(movie.poster_path, 'w154')}" img src="#{poster_url(movie.poster_path, 'w154')}"
.informations .informations
h2 h2
a href="#{url("/movie/#{movie.id}")}" #{movie.original_title} a href="#{url("/movie/#{movie.id}")}" #{movie.title}