Skip to content

Commit

Permalink
Fixed issues img
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie.Rees authored and Jamie.Rees committed Feb 16, 2017
1 parent e4bd095 commit 487abf3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Ombi.UI/Modules/IssuesModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public async Task<Negotiator> Details(int id)
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];
Expand Down
2 changes: 1 addition & 1 deletion Ombi.UI/Views/Issues/Details.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 487abf3

Please sign in to comment.