From ba4b257d206c64f2e37cea2913ec4fc7e633796d Mon Sep 17 00:00:00 2001 From: Guillaume Dott Date: Mon, 23 Nov 2015 12:44:44 +0100 Subject: [PATCH] Display title instead of original_title --- lib/librarix/views/movie.slim | 2 +- lib/librarix/views/partials/movie/compact.slim | 2 +- lib/librarix/views/partials/movie/default.slim | 2 +- lib/librarix/views/partials/movie/poster.slim | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/librarix/views/movie.slim b/lib/librarix/views/movie.slim index 84c01e6..fe17121 100644 --- a/lib/librarix/views/movie.slim +++ b/lib/librarix/views/movie.slim @@ -2,7 +2,7 @@ = movie.title .movie data-id="#{movie.id}" - h1 = movie.original_title + h1 = movie.title .poster - if movie.poster_path img src="#{poster_url(movie.poster_path, 'w154')}" diff --git a/lib/librarix/views/partials/movie/compact.slim b/lib/librarix/views/partials/movie/compact.slim index a309e76..139cf06 100644 --- a/lib/librarix/views/partials/movie/compact.slim +++ b/lib/librarix/views/partials/movie/compact.slim @@ -3,7 +3,7 @@ img src="#{poster_url(movie.poster_path, 'w92')}" .informations h2 - a href="#{url("/movie/#{movie.id}")}" #{movie.original_title} + a href="#{url("/movie/#{movie.id}")}" #{movie.title} .actions - if movie.added? - unless movie.viewed? diff --git a/lib/librarix/views/partials/movie/default.slim b/lib/librarix/views/partials/movie/default.slim index 8b5354c..d5f9540 100644 --- a/lib/librarix/views/partials/movie/default.slim +++ b/lib/librarix/views/partials/movie/default.slim @@ -3,7 +3,7 @@ img src="#{poster_url(movie.poster_path, 'w154')}" .informations h2 - a href="#{url("/movie/#{movie.id}")}" #{movie.original_title} + a href="#{url("/movie/#{movie.id}")}" #{movie.title} p = movie.release_date p = movie.overview ul.genres diff --git a/lib/librarix/views/partials/movie/poster.slim b/lib/librarix/views/partials/movie/poster.slim index fd72965..da2da75 100644 --- a/lib/librarix/views/partials/movie/poster.slim +++ b/lib/librarix/views/partials/movie/poster.slim @@ -4,4 +4,4 @@ img src="#{poster_url(movie.poster_path, 'w154')}" .informations h2 - a href="#{url("/movie/#{movie.id}")}" #{movie.original_title} + a href="#{url("/movie/#{movie.id}")}" #{movie.title}