Fixed issues img

pull/1138/head
Jamie.Rees 8 years ago
parent e4bd0950d0
commit 487abf3ac2

@ -145,7 +145,7 @@ namespace Ombi.UI.Modules
Deleted = issue.Deleted,
Type = issue.Type,
ProviderId = issue.ProviderId,
PosterUrl = issue.PosterUrl,
PosterUrl = issue.PosterUrl.Contains("https://image.tmdb.org/t/p/w150/") ? issue.PosterUrl : $"https://image.tmdb.org/t/p/w150/{issue.PosterUrl}",
Id = issue.Id
};
return View["Details", m];

@ -18,7 +18,7 @@
<div class="row">
<div class="col-md-3">
<img src="https://image.tmdb.org/t/p/w150/@Model.PosterUrl" />
<img src="@Model.PosterUrl" />
</div>
<div class="col-md-9">
<h4>Issues For "@Model.Title"</h4>

Loading…
Cancel
Save