@extends('layout.default') @section('title')
{{ __('common.user') }} | {{ __('torrent.progress') }} | {{ __('common.upload') }} | {{ __('common.download') }} | {{ __('torrent.left') }} | {{ __('torrent.client') }} | {{ __('common.ip') }} | {{ __('common.port') }} | @if (\config('announce.connectable_check') == true)Connectable | @endif{{ __('torrent.started') }} | {{ __('torrent.last-update') }} | {{ __('common.status') }} | Visible | ||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
{{ $peer->progress }}% | {{ \App\Helpers\StringHelper::formatBytes($peer->uploaded, 2) }} | {{ \App\Helpers\StringHelper::formatBytes($peer->downloaded, 2) }} | {{ \App\Helpers\StringHelper::formatBytes($peer->left, 2) }} | {{ $peer->agent }} | @if (auth()->user()->group->is_modo || auth()->id() == $peer->user_id){{ $peer->ip }} | {{ $peer->port }} | @else--- | --- | @endif @if (\config('announce.connectable_check') == true) @php $connectable = false; if (config('announce.external_tracker.is_enabled')) { $connectable = $peer->connectable; } elseif (cache()->has('peers:connectable:' . $peer->ip . '-' . $peer->port . '-' . $peer->agent)) { $connectable = cache()->get('peers:connectable:' . $peer->ip . '-' . $peer->port . '-' . $peer->agent); } @endphp@choice('user.client-connectable-state', $connectable) | @endif@if ($peer->active) @if ($peer->seeder) {{ __('torrent.seeder') }} @else {{ __('torrent.leecher') }} @endif @else Inactive @endif | @if ($peer->visible) {{ __('common.yes') }} @else {{ __('common.no') }} @endif |