From d094582ff84dac356c8d1ac8fb900492c722bc40 Mon Sep 17 00:00:00 2001 From: PyR8zdl <48926974+PyR8zdl@users.noreply.github.com> Date: Sat, 1 Feb 2020 19:49:55 -0600 Subject: [PATCH] Cleaned up code Cleaned up code and removed redundant lines. --- resources/views/torrent/results.blade.php | 12 ++---------- resources/views/torrent/torrent.blade.php | 11 ++--------- 2 files changed, 4 insertions(+), 19 deletions(-) diff --git a/resources/views/torrent/results.blade.php b/resources/views/torrent/results.blade.php index 8c9f4447f8..5aee03e8b3 100644 --- a/resources/views/torrent/results.blade.php +++ b/resources/views/torrent/results.blade.php @@ -143,14 +143,6 @@ class="torrent-poster-img-small show-poster" alt="@lang('torrent.poster')"> - @if (config('torrent.magnet') == 1) - - - - @endif @else - @if (config('torrent.magnet') == 1) + @endif + @if (config('torrent.magnet') == 1) - @endif @endif @lang('common.download') - @if (config('torrent.magnet') == 1) - - - @lang('common.magnet') - - - @endif @else @lang('common.download') - @if (config('torrent.magnet') == 1) + @endif + @if (config('torrent.magnet') == 1) @lang('common.magnet') - @endif @endif @if ($torrent->tmdb != 0)