Skip to content

Commit

Permalink
Merge pull request #1981 from fmohican/master
Browse files Browse the repository at this point in the history
(Fix) #1980
  • Loading branch information
HDVinnie authored Oct 30, 2021
2 parents 510b373 + 1ae46ee commit e0eb0a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/views/livewire/torrent-list-search.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -668,13 +668,13 @@ class="torrent-poster-img-small" alt="@lang('torrent.poster')">
<span class='badge-extra'>
<img src="{{ url('img/igdb.png') }}" alt="igdb_id" style="margin-left: -5px;" width="24px" height="24px"> {{ $torrent->igdb }}
<br>
<span class="{{ \rating_color(round($meta->rating) ?? 'text-white') }}"><i class="{{ config('other.font-awesome') }} fa-star-half-alt"></i> {{ $meta->rating_count ?? 0 }}/100 </span>
<span class="{{ \rating_color($meta->rating ?? 'text-white') }}"><i class="{{ config('other.font-awesome') }} fa-star-half-alt"></i> {{ round($meta->rating ?? 0) }}/100 </span>
</span>
@endif
@if ($torrent->category->movie_meta || $torrent->category->tv_meta)
<span class='badge-extra'>
<a href="{{ route('torrents.similar', ['category_id' => $torrent->category_id, 'tmdb' => $torrent->tmdb]) }}">
<img src="{{ url('img/tmdb_small.png') }}" alt="igdb_id" style="margin-left: -5px;" width="24px" height="24px"> {{ $torrent->tmdb }}
<img src="{{ url('img/tmdb_small.png') }}" alt="tmdb_id" style="margin-left: -5px;" width="24px" height="24px"> {{ $torrent->tmdb }}
</a>
<br>
<span class="{{ \rating_color($meta->vote_average ?? 'text-white') }}"><i class="{{ config('other.font-awesome') }} fa-star-half-alt"></i> {{ $meta->vote_average ?? 0 }}/10 </span>
Expand Down

0 comments on commit e0eb0a0

Please sign in to comment.