mirror of
https://github.com/BillyOutlast/UNIT3D.git
synced 2026-02-04 03:01:20 +01:00
refactor: enforce view filenames to use kebab case
Also had to use `@style` directives inside /resources/views/components/user-tag.blade.php. Prettier was erroring when the `@if` directive was inside the html attribute otherwise. Seems to have always been an issue, but the CI must only be formatting files that changed and because the file was only just changed now, it never discovered it until now.
This commit is contained in:
@@ -29,7 +29,7 @@ class ForumCategoryController extends Controller
|
||||
*/
|
||||
public function show(Request $request, int $id): \Illuminate\Contracts\Foundation\Application|\Illuminate\Contracts\View\Factory|\Illuminate\Contracts\View\View|\Illuminate\Http\RedirectResponse
|
||||
{
|
||||
return view('forum.category_topic.index', [
|
||||
return view('forum.category-topic.index', [
|
||||
'category' => ForumCategory::query()
|
||||
->whereHas('forums', fn ($query) => $query->authorized(canReadTopic: true))
|
||||
->findOrFail($id),
|
||||
|
||||
@@ -65,7 +65,7 @@ class ForumController extends Controller
|
||||
*/
|
||||
public function show(Request $request, int $id): \Illuminate\Contracts\View\Factory|\Illuminate\View\View|\Illuminate\Http\RedirectResponse
|
||||
{
|
||||
return view('forum.forum_topic.index', [
|
||||
return view('forum.forum-topic.index', [
|
||||
'forum' => Forum::query()
|
||||
->with('category')
|
||||
->authorized(canReadTopic: true)
|
||||
|
||||
@@ -25,6 +25,6 @@ class BlockedIpController extends Controller
|
||||
*/
|
||||
public function index(): \Illuminate\Contracts\View\Factory|\Illuminate\View\View
|
||||
{
|
||||
return view('Staff.blocked_ip.index');
|
||||
return view('Staff.blocked-ip.index');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@ class BonEarningController extends Controller
|
||||
*/
|
||||
public function index(): \Illuminate\Contracts\View\Factory|\Illuminate\View\View
|
||||
{
|
||||
return view('Staff.bon_earning.index', [
|
||||
return view('Staff.bon-earning.index', [
|
||||
'bonEarnings' => BonEarning::with('conditions')->orderBy('position')->get(),
|
||||
]);
|
||||
}
|
||||
@@ -40,7 +40,7 @@ class BonEarningController extends Controller
|
||||
*/
|
||||
public function create(): \Illuminate\Contracts\View\Factory|\Illuminate\View\View
|
||||
{
|
||||
return view('Staff.bon_earning.create');
|
||||
return view('Staff.bon-earning.create');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -61,7 +61,7 @@ class BonEarningController extends Controller
|
||||
*/
|
||||
public function edit(BonEarning $bonEarning): \Illuminate\Contracts\View\Factory|\Illuminate\View\View
|
||||
{
|
||||
return view('Staff.bon_earning.edit', [
|
||||
return view('Staff.bon-earning.edit', [
|
||||
'bonEarning' => $bonEarning->load('conditions'),
|
||||
]);
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@ class BonExchangeController extends Controller
|
||||
*/
|
||||
public function index(): \Illuminate\Contracts\View\Factory|\Illuminate\View\View
|
||||
{
|
||||
return view('Staff.bon_exchange.index', [
|
||||
return view('Staff.bon-exchange.index', [
|
||||
'bonExchanges' => BonExchange::all(),
|
||||
]);
|
||||
}
|
||||
@@ -39,7 +39,7 @@ class BonExchangeController extends Controller
|
||||
*/
|
||||
public function create(): \Illuminate\Contracts\View\Factory|\Illuminate\View\View
|
||||
{
|
||||
return view('Staff.bon_exchange.create');
|
||||
return view('Staff.bon-exchange.create');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -64,7 +64,7 @@ class BonExchangeController extends Controller
|
||||
*/
|
||||
public function edit(int $id): \Illuminate\Contracts\View\Factory|\Illuminate\View\View
|
||||
{
|
||||
return view('Staff.bon_exchange.edit', [
|
||||
return view('Staff.bon-exchange.edit', [
|
||||
'bonExchange' => BonExchange::findOrFail($id),
|
||||
]);
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@ class CheatedTorrentController extends Controller
|
||||
*/
|
||||
public function index(): \Illuminate\Contracts\View\Factory|\Illuminate\View\View
|
||||
{
|
||||
return view('Staff.cheated_torrent.index', [
|
||||
return view('Staff.cheated-torrent.index', [
|
||||
'torrents' => Torrent::query()
|
||||
->select([
|
||||
'torrents.id',
|
||||
|
||||
@@ -31,7 +31,7 @@ class DonationGatewayController extends Controller
|
||||
{
|
||||
abort_unless($request->user()->group->is_owner, 403);
|
||||
|
||||
return view('Staff.donation_gateway.index', ['gateways' => DonationGateway::orderBy('position')->paginate(25)]);
|
||||
return view('Staff.donation-gateway.index', ['gateways' => DonationGateway::orderBy('position')->paginate(25)]);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -41,7 +41,7 @@ class DonationGatewayController extends Controller
|
||||
{
|
||||
abort_unless($request->user()->group->is_owner, 403);
|
||||
|
||||
return view('Staff.donation_gateway.create');
|
||||
return view('Staff.donation-gateway.create');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -64,7 +64,7 @@ class DonationGatewayController extends Controller
|
||||
{
|
||||
abort_unless($request->user()->group->is_owner, 403);
|
||||
|
||||
return view('Staff.donation_gateway.edit', ['gateway' => $gateway]);
|
||||
return view('Staff.donation-gateway.edit', ['gateway' => $gateway]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -29,7 +29,7 @@ class DonationPackageController extends Controller
|
||||
*/
|
||||
public function index(): \Illuminate\Contracts\View\View|\Illuminate\Foundation\Application|\Illuminate\Contracts\View\Factory|\Illuminate\Contracts\Foundation\Application
|
||||
{
|
||||
return view('Staff.donation_package.index', ['packages' => DonationPackage::orderBy('position')->paginate(25)]);
|
||||
return view('Staff.donation-package.index', ['packages' => DonationPackage::orderBy('position')->paginate(25)]);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -37,7 +37,7 @@ class DonationPackageController extends Controller
|
||||
*/
|
||||
public function create(): \Illuminate\Contracts\View\View|\Illuminate\Foundation\Application|\Illuminate\Contracts\View\Factory|\Illuminate\Contracts\Foundation\Application
|
||||
{
|
||||
return view('Staff.donation_package.create');
|
||||
return view('Staff.donation-package.create');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -56,7 +56,7 @@ class DonationPackageController extends Controller
|
||||
*/
|
||||
public function edit(DonationPackage $package): \Illuminate\Contracts\View\View|\Illuminate\Foundation\Application|\Illuminate\Contracts\View\Factory|\Illuminate\Contracts\Foundation\Application
|
||||
{
|
||||
return view('Staff.donation_package.edit', ['package' => $package]);
|
||||
return view('Staff.donation-package.edit', ['package' => $package]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -26,7 +26,7 @@ class MassEmailController extends Controller
|
||||
{
|
||||
public function create(): \Illuminate\Contracts\View\View|\Illuminate\Foundation\Application|\Illuminate\Contracts\View\Factory|\Illuminate\Contracts\Foundation\Application
|
||||
{
|
||||
return view('Staff.mass_email.create', ['groups' => Group::orderBy('position')->get()]);
|
||||
return view('Staff.mass-email.create', ['groups' => Group::orderBy('position')->get()]);
|
||||
}
|
||||
|
||||
public function store(MassEmailRequest $request): \Illuminate\Http\RedirectResponse
|
||||
|
||||
@@ -26,7 +26,7 @@ class MassPrivateMessageController extends Controller
|
||||
{
|
||||
public function create(): \Illuminate\Contracts\View\Factory|\Illuminate\View\View
|
||||
{
|
||||
return view('Staff.mass_private_message.create', [
|
||||
return view('Staff.mass-private-message.create', [
|
||||
'groups' => Group::orderBy('position')->get()
|
||||
]);
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@ class MediaLanguageController extends Controller
|
||||
*/
|
||||
public function index(): \Illuminate\Contracts\View\Factory|\Illuminate\View\View
|
||||
{
|
||||
return view('Staff.media_language.index', [
|
||||
return view('Staff.media-language.index', [
|
||||
'media_languages' => MediaLanguage::orderBy('name')->get(),
|
||||
]);
|
||||
}
|
||||
@@ -39,7 +39,7 @@ class MediaLanguageController extends Controller
|
||||
*/
|
||||
public function create(): \Illuminate\Contracts\View\Factory|\Illuminate\View\View
|
||||
{
|
||||
return view('Staff.media_language.create');
|
||||
return view('Staff.media-language.create');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -58,7 +58,7 @@ class MediaLanguageController extends Controller
|
||||
*/
|
||||
public function edit(MediaLanguage $mediaLanguage): \Illuminate\Contracts\View\Factory|\Illuminate\View\View
|
||||
{
|
||||
return view('Staff.media_language.edit', [
|
||||
return view('Staff.media-language.edit', [
|
||||
'media_language' => $mediaLanguage,
|
||||
]);
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@ class WikiCategoryController extends Controller
|
||||
*/
|
||||
public function index(): \Illuminate\Contracts\View\View|\Illuminate\Foundation\Application|\Illuminate\Contracts\View\Factory|\Illuminate\Contracts\Foundation\Application
|
||||
{
|
||||
return view('Staff.wiki_category.index', [
|
||||
return view('Staff.wiki-category.index', [
|
||||
'wikiCategories' => WikiCategory::query()
|
||||
->with(['wikis' => fn ($query) => $query->orderBy('name')])
|
||||
->orderBy('position')
|
||||
@@ -41,7 +41,7 @@ class WikiCategoryController extends Controller
|
||||
*/
|
||||
public function create(): \Illuminate\Contracts\View\View|\Illuminate\Foundation\Application|\Illuminate\Contracts\View\Factory|\Illuminate\Contracts\Foundation\Application
|
||||
{
|
||||
return view('Staff.wiki_category.create');
|
||||
return view('Staff.wiki-category.create');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -60,7 +60,7 @@ class WikiCategoryController extends Controller
|
||||
*/
|
||||
public function edit(WikiCategory $wikiCategory): \Illuminate\Contracts\View\View|\Illuminate\Foundation\Application|\Illuminate\Contracts\View\Factory|\Illuminate\Contracts\Foundation\Application
|
||||
{
|
||||
return view('Staff.wiki_category.edit', [
|
||||
return view('Staff.wiki-category.edit', [
|
||||
'wikiCategory' => $wikiCategory,
|
||||
]);
|
||||
}
|
||||
|
||||
@@ -87,7 +87,7 @@ class TopicController extends Controller
|
||||
|
||||
$forum = Forum::with('category')->authorized(canStartTopic: true)->findOrFail($id);
|
||||
|
||||
return view('forum.forum_topic.create', [
|
||||
return view('forum.forum-topic.create', [
|
||||
'forum' => $forum,
|
||||
]);
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@ class TorrentDownloadController extends Controller
|
||||
*/
|
||||
public function show(Request $request, int $id): \Illuminate\Contracts\View\Factory|\Illuminate\View\View
|
||||
{
|
||||
return view('torrent.download_check', [
|
||||
return view('torrent.download-check', [
|
||||
'torrent' => Torrent::withoutGlobalScope(ApprovedScope::class)->findOrFail($id),
|
||||
'user' => $request->user(),
|
||||
]);
|
||||
|
||||
@@ -45,6 +45,6 @@ class GeneralSettingController extends Controller
|
||||
{
|
||||
abort_unless($request->user()->is($user), 403);
|
||||
|
||||
return view('user.general_setting.edit', ['user' => $user]);
|
||||
return view('user.general-setting.edit', ['user' => $user]);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ class NotificationSettingController extends Controller
|
||||
{
|
||||
abort_unless($request->user()->is($user), 403);
|
||||
|
||||
return view('user.notification_setting.edit', [
|
||||
return view('user.notification-setting.edit', [
|
||||
'user' => $user,
|
||||
'groups' => Group::query()
|
||||
->where('is_modo', '=', false)
|
||||
|
||||
@@ -50,7 +50,7 @@ class PrivacySettingController extends Controller
|
||||
{
|
||||
abort_unless($request->user()->is($user), 403);
|
||||
|
||||
return view('user.privacy_setting.edit', [
|
||||
return view('user.privacy-setting.edit', [
|
||||
'user' => $user,
|
||||
'groups' => Group::query()
|
||||
->where('is_modo', '=', false)
|
||||
|
||||
@@ -29,6 +29,6 @@ class TwoFactorAuthController extends Controller
|
||||
{
|
||||
abort_unless($request->user()->is($user), 403);
|
||||
|
||||
return view('user.two_factor_auth.edit', ['user' => $user]);
|
||||
return view('user.two-factor-auth.edit', ['user' => $user]);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -34,7 +34,7 @@ class YearlyOverviewController extends Controller
|
||||
*/
|
||||
public function index(): \Illuminate\Contracts\View\View|\Illuminate\Contracts\View\Factory
|
||||
{
|
||||
return view('stats.yearly_overviews.index', [
|
||||
return view('stats.yearly-overviews.index', [
|
||||
'siteYears' => range(now()->subYear()->year, Carbon::parse(config('other.birthdate'))->year),
|
||||
]);
|
||||
}
|
||||
@@ -50,7 +50,7 @@ class YearlyOverviewController extends Controller
|
||||
|
||||
abort_unless($birthYear <= $year && $year < $currentYear, 404);
|
||||
|
||||
return view('stats.yearly_overviews.show', [
|
||||
return view('stats.yearly-overviews.show', [
|
||||
'topMovies' => cache()->rememberForever(
|
||||
'yearly-overview:'.$year.':top-movies',
|
||||
fn () => Torrent::with('movie')
|
||||
|
||||
@@ -37,6 +37,6 @@ class DenyApplication extends Mailable
|
||||
*/
|
||||
public function build(): static
|
||||
{
|
||||
return $this->markdown('emails.deny_application')->subject('Your Application Has Been Denied!');
|
||||
return $this->markdown('emails.deny-application')->subject('Your Application Has Been Denied!');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,6 +37,6 @@ class TestEmail extends Mailable
|
||||
*/
|
||||
public function build(): static
|
||||
{
|
||||
return $this->markdown('emails.test_email');
|
||||
return $this->markdown('emails.test-email');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -89,6 +89,6 @@ class AppServiceProvider extends ServiceProvider
|
||||
]);
|
||||
|
||||
View::composer('partials.footer', FooterComposer::class);
|
||||
View::composer('partials.top_nav', TopNavComposer::class);
|
||||
View::composer('partials.top-nav', TopNavComposer::class);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -113,7 +113,7 @@
|
||||
@if ($application->status !== \App\Enums\ModerationStatus::PENDING)
|
||||
<h2 class="panel__heading">{{ __('common.moderated-by') }}</h2>
|
||||
<div class="panel__body">
|
||||
<x-user_tag :anon="false" :user="$application->moderated" />
|
||||
<x-user-tag :anon="false" :user="$application->moderated" />
|
||||
</div>
|
||||
@else
|
||||
<h2 class="panel__heading">{{ __('common.action') }}</h2>
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
@foreach ($staffUsers as $staffUser)
|
||||
<tr>
|
||||
<td>
|
||||
<x-user_tag :anon="false" :user="$staffUser" />
|
||||
<x-user-tag :anon="false" :user="$staffUser" />
|
||||
</td>
|
||||
<td>{{ $staffUser->last_30_days }}</td>
|
||||
<td>{{ $staffUser->last_60_days }}</td>
|
||||
|
||||
@@ -46,10 +46,10 @@
|
||||
<tr>
|
||||
<td>{{ $ban->id }}</td>
|
||||
<td>
|
||||
<x-user_tag :anon="false" :user="$ban->banneduser" />
|
||||
<x-user-tag :anon="false" :user="$ban->banneduser" />
|
||||
</td>
|
||||
<td>
|
||||
<x-user_tag :anon="false" :user="$ban->staffuser" />
|
||||
<x-user-tag :anon="false" :user="$ban->staffuser" />
|
||||
</td>
|
||||
<td>{{ $ban->ban_reason }}</td>
|
||||
<td>{{ $ban->unban_reason }}</td>
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
@foreach ($cheaters as $cheater)
|
||||
<tr>
|
||||
<td>
|
||||
<x-user_tag :anon="false" :user="$cheater" />
|
||||
<x-user-tag :anon="false" :user="$cheater" />
|
||||
</td>
|
||||
<td>
|
||||
<time
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
<tr>
|
||||
<td>{{ $donation->created_at }}</td>
|
||||
<td>
|
||||
<x-user_tag :user="$donation->user" :anon="false" />
|
||||
<x-user-tag :user="$donation->user" :anon="false" />
|
||||
</td>
|
||||
<td style="max-width: 80ch; word-wrap: break-word; white-space: normal">
|
||||
{{ $donation->transaction }}
|
||||
|
||||
@@ -151,7 +151,7 @@
|
||||
<tr>
|
||||
<td>{{ $user->pivot->position }}</td>
|
||||
<td>
|
||||
<x-user_tag :user="$user" :anon="false" />
|
||||
<x-user-tag :user="$user" :anon="false" />
|
||||
</td>
|
||||
<td>
|
||||
<time
|
||||
|
||||
@@ -104,7 +104,7 @@
|
||||
@foreach ($internalUsers as $user)
|
||||
<tr>
|
||||
<td>
|
||||
<x-user_tag :anon="false" :user="$user" />
|
||||
<x-user-tag :anon="false" :user="$user" />
|
||||
</td>
|
||||
<td>{{ $user->internals->pluck('name')->implode(', ') }}</td>
|
||||
<td>{{ $user->total_uploads }}</td>
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
<td>{{ $torrent->resolution->name ?? 'No Res' }}</td>
|
||||
<td>{{ $torrent->getSize() }}</td>
|
||||
<td>
|
||||
<x-user_tag :anon="false" :user="$torrent->user" />
|
||||
<x-user-tag :anon="false" :user="$torrent->user" />
|
||||
</td>
|
||||
<td>
|
||||
<menu class="data-table__actions">
|
||||
@@ -88,8 +88,8 @@
|
||||
</button>
|
||||
</form>
|
||||
</li>
|
||||
@include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent])
|
||||
@include('Staff.moderation.partials._reject_dialog', ['torrent' => $torrent])
|
||||
@include('Staff.moderation.partials._postpone-dialog', ['torrent' => $torrent])
|
||||
@include('Staff.moderation.partials._reject-dialog', ['torrent' => $torrent])
|
||||
</menu>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -145,10 +145,10 @@
|
||||
<td>{{ $torrent->resolution->name ?? 'No Res' }}</td>
|
||||
<td>{{ $torrent->getSize() }}</td>
|
||||
<td>
|
||||
<x-user_tag :anon="false" :user="$torrent->user" />
|
||||
<x-user-tag :anon="false" :user="$torrent->user" />
|
||||
</td>
|
||||
<td>
|
||||
<x-user_tag :anon="false" :user="$torrent->moderated" />
|
||||
<x-user-tag :anon="false" :user="$torrent->moderated" />
|
||||
</td>
|
||||
<td>
|
||||
<menu class="data-table__actions">
|
||||
@@ -187,7 +187,7 @@
|
||||
{{ __('common.edit') }}
|
||||
</a>
|
||||
</li>
|
||||
@include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent])
|
||||
@include('Staff.moderation.partials._delete-dialog', ['torrent' => $torrent])
|
||||
</menu>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -243,10 +243,10 @@
|
||||
<td>{{ $torrent->resolution->name ?? 'No Res' }}</td>
|
||||
<td>{{ $torrent->getSize() }}</td>
|
||||
<td>
|
||||
<x-user_tag :anon="false" :user="$torrent->user" />
|
||||
<x-user-tag :anon="false" :user="$torrent->user" />
|
||||
</td>
|
||||
<td>
|
||||
<x-user_tag :anon="false" :user="$torrent->moderated" />
|
||||
<x-user-tag :anon="false" :user="$torrent->moderated" />
|
||||
</td>
|
||||
<td>
|
||||
<menu class="data-table__actions">
|
||||
@@ -274,7 +274,7 @@
|
||||
</button>
|
||||
</form>
|
||||
</li>
|
||||
@include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent])
|
||||
@include('Staff.moderation.partials._postpone-dialog', ['torrent' => $torrent])
|
||||
<li class="data-table__action">
|
||||
<a
|
||||
href="{{ route('torrents.edit', ['id' => $torrent->id]) }}"
|
||||
@@ -286,7 +286,7 @@
|
||||
{{ __('common.edit') }}
|
||||
</a>
|
||||
</li>
|
||||
@include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent])
|
||||
@include('Staff.moderation.partials._delete-dialog', ['torrent' => $torrent])
|
||||
</menu>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -100,20 +100,20 @@
|
||||
<section class="panelV2">
|
||||
<h2 class="panel__heading">Reported {{ __('common.user') }}</h2>
|
||||
<div class="panel__body">
|
||||
<x-user_tag :anon="false" :user="$report->reported" />
|
||||
<x-user-tag :anon="false" :user="$report->reported" />
|
||||
</div>
|
||||
</section>
|
||||
<section class="panelV2">
|
||||
<h2 class="panel__heading">{{ __('common.reporter') }}</h2>
|
||||
<div class="panel__body">
|
||||
<x-user_tag :anon="false" :user="$report->reporter" />
|
||||
<x-user-tag :anon="false" :user="$report->reporter" />
|
||||
</div>
|
||||
</section>
|
||||
<section class="panelV2">
|
||||
<h2 class="panel__heading">Solved by</h2>
|
||||
<div class="panel__body">
|
||||
@if ($report->solved)
|
||||
<x-user_tag :anon="false" :user="$report->staff" />
|
||||
<x-user-tag :anon="false" :user="$report->staff" />
|
||||
@else
|
||||
<span class="text-red">
|
||||
<i class="{{ config('other.font-awesome') }} fa-times"></i>
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
<tr>
|
||||
<td>{{ $loop->iteration }}</td>
|
||||
<td>
|
||||
<x-user_tag :anon="false" :user="$seedbox->user" />
|
||||
<x-user-tag :anon="false" :user="$seedbox->user" />
|
||||
</td>
|
||||
<td>{{ $seedbox->ip }}</td>
|
||||
<td>
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
@foreach ($uploaders as $uploader)
|
||||
<tr>
|
||||
<td>
|
||||
<x-user_tag :anon="false" :user="$uploader" />
|
||||
<x-user-tag :anon="false" :user="$uploader" />
|
||||
</td>
|
||||
<td>{{ $uploader->total_uploads }}</td>
|
||||
<td>{{ $uploader->recent_uploads }}</td>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<ul style="column-width: 200px; column-gap: 1rem; list-style-type: none; padding: 0">
|
||||
@foreach ($users as $user)
|
||||
<li>
|
||||
<x-user_tag
|
||||
<x-user-tag
|
||||
:user="$user"
|
||||
:anon="$user->privacy?->hidden || ! $user->isVisible($user, 'other', 'show_online')"
|
||||
>
|
||||
@@ -19,7 +19,7 @@
|
||||
></i>
|
||||
</x-slot>
|
||||
@endif
|
||||
</x-user_tag>
|
||||
</x-user-tag>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
|
||||
@@ -163,7 +163,7 @@
|
||||
alt=""
|
||||
/>
|
||||
</figure>
|
||||
<x-user_tag class="post__author" :anon="false" :user="$post->user">
|
||||
<x-user-tag class="post__author" :anon="false" :user="$post->user">
|
||||
<x-slot:appended-icons>
|
||||
@if ($post->user->isOnline())
|
||||
<i
|
||||
@@ -182,7 +182,7 @@
|
||||
<i class="{{ config('other.font-awesome') }} fa-envelope text-info"></i>
|
||||
</a>
|
||||
</x-slot>
|
||||
</x-user_tag>
|
||||
</x-user-tag>
|
||||
@if (! empty($post->user->title))
|
||||
<p class="post__author-title">
|
||||
{{ $post->user->title }}
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
</a>
|
||||
@endif
|
||||
<div class="playlists__playlist-author">
|
||||
<x-user_tag :user="$playlist->user" :anon="false" />
|
||||
<x-user-tag :user="$playlist->user" :anon="false" />
|
||||
</div>
|
||||
<a
|
||||
class="playlists__playlist-link"
|
||||
|
||||
@@ -112,7 +112,7 @@
|
||||
<footer class="torrent-card__footer">
|
||||
<div class="torrent-card__left-footer">
|
||||
<address class="torrent-card__uploader">
|
||||
<x-user_tag :anon="$torrent->anon" :user="$torrent->user" />
|
||||
<x-user-tag :anon="$torrent->anon" :user="$torrent->user" />
|
||||
</address>
|
||||
<span class="torrent-card__meta-separator">•</span>
|
||||
<time title="{{ $torrent->created_at }}" datetime="{{ $torrent->created_at }}">
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
</span>
|
||||
</header>
|
||||
<aside class="comment__aside">
|
||||
<x-user_tag class="comment__author" :anon="$comment->anon" :user="$comment->user">
|
||||
<x-user-tag class="comment__author" :anon="$comment->anon" :user="$comment->user">
|
||||
<x-slot:appended-icons>
|
||||
@if ($comment->user->isOnline())
|
||||
<i
|
||||
@@ -57,7 +57,7 @@
|
||||
<i class="{{ config('other.font-awesome') }} fa-envelope text-info"></i>
|
||||
</a>
|
||||
</x-slot>
|
||||
</x-user_tag>
|
||||
</x-user-tag>
|
||||
@if (! empty($comment->user->title) && ! $comment->anon)
|
||||
<p class="comment__author-title">
|
||||
{{ $comment->user->title }}
|
||||
|
||||
@@ -129,7 +129,7 @@
|
||||
>
|
||||
{{ $torrent->name }}
|
||||
</a>
|
||||
<x-user_tag
|
||||
<x-user-tag
|
||||
class="torrent-search--list__uploader"
|
||||
:user="$torrent->user"
|
||||
:anon="$torrent->anon"
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
@if (auth()->user()->is($user) || auth()->user()->group->is_modo)
|
||||
<span
|
||||
{{ $attributes->class('user-tag fas fa-eye-slash') }}
|
||||
@if($user->is_donor == 1)
|
||||
{{ $attributes->merge(['style' => 'background-image: url(/img/sparkels.gif);'. ($style ?? '')]) }}
|
||||
@if ($user->is_donor == 1)
|
||||
{{ $attributes->merge(['style' => 'background-image: url(/img/sparkels.gif);' . ($style ?? '')]) }}
|
||||
@else
|
||||
{{ $attributes->merge(['style' => 'background-image: ' . $user->group->effect . ';' . ($style ?? '')]) }}
|
||||
@endif
|
||||
@@ -24,17 +24,34 @@
|
||||
>
|
||||
{{ $user->username }}
|
||||
</a>
|
||||
@if($user->icon !== null)
|
||||
@if ($user->icon !== null)
|
||||
<i>
|
||||
<img style="@if(request()->route()->getName() === 'users.show') max-height: 22px; @else max-height: 17px; @endif vertical-align: text-bottom;" title="Custom User Icon" src="{{ route('authenticated_images.user_icon', ['user' => $user]) }}">
|
||||
<img
|
||||
@style([
|
||||
'max-height: 22px;' =>
|
||||
request()
|
||||
->route()
|
||||
->getName() === 'users.show',
|
||||
'max-height: 17px;' =>
|
||||
request()
|
||||
->route()
|
||||
->getName() !== 'users.show',
|
||||
'vertical-align: text-bottom',
|
||||
])
|
||||
title="Custom User Icon"
|
||||
src="{{ route('authenticated_images.user_icon', ['user' => $user]) }}"
|
||||
/>
|
||||
</i>
|
||||
@endif
|
||||
@if($user->is_lifetime == 1)
|
||||
|
||||
@if ($user->is_lifetime == 1)
|
||||
<i class="fal fa-star" id="lifeline" title="Lifetime Donor"></i>
|
||||
@endif
|
||||
@if($user->is_donor == 1 && $user->is_lifetime == 0)
|
||||
|
||||
@if ($user->is_donor == 1 && $user->is_lifetime == 0)
|
||||
<i class="fal fa-star text-gold" title="Donor"></i>
|
||||
@endif
|
||||
|
||||
{{ $appendedIcons ?? '' }}
|
||||
)
|
||||
</span>
|
||||
@@ -46,8 +63,8 @@
|
||||
@else
|
||||
<span
|
||||
{{ $attributes->class('user-tag') }}
|
||||
@if($user->is_donor == 1)
|
||||
{{ $attributes->merge(['style' => 'background-image: url(/img/sparkels.gif);'. ($style ?? '')]) }}
|
||||
@if ($user->is_donor == 1)
|
||||
{{ $attributes->merge(['style' => 'background-image: url(/img/sparkels.gif);' . ($style ?? '')]) }}
|
||||
@else
|
||||
{{ $attributes->merge(['style' => 'background-image: ' . $user->group->effect . ';' . ($style ?? '')]) }}
|
||||
@endif
|
||||
@@ -60,17 +77,34 @@
|
||||
>
|
||||
{{ $user->username }}
|
||||
</a>
|
||||
@if($user->icon !== null)
|
||||
@if ($user->icon !== null)
|
||||
<i>
|
||||
<img style="@if(request()->route()->getName() === 'users.show') max-height: 22px; @else max-height: 17px; @endif vertical-align: text-bottom;" title="Custom User Icon" src="{{ route('authenticated_images.user_icon', ['user' => $user]) }}">
|
||||
<img
|
||||
@style([
|
||||
'max-height: 22px;' =>
|
||||
request()
|
||||
->route()
|
||||
->getName() === 'users.show',
|
||||
'max-height: 17px;' =>
|
||||
request()
|
||||
->route()
|
||||
->getName() !== 'users.show',
|
||||
'vertical-align: text-bottom',
|
||||
])
|
||||
title="Custom User Icon"
|
||||
src="{{ route('authenticated_images.user_icon', ['user' => $user]) }}"
|
||||
/>
|
||||
</i>
|
||||
@endif
|
||||
@if($user->is_lifetime == 1)
|
||||
|
||||
@if ($user->is_lifetime == 1)
|
||||
<i class="fal fa-star" id="lifeline" title="Lifetime Donor"></i>
|
||||
@endif
|
||||
@if($user->is_donor == 1 && $user->is_lifetime == 0)
|
||||
|
||||
@if ($user->is_donor == 1 && $user->is_lifetime == 0)
|
||||
<i class="fal fa-star text-gold" title="Donor"></i>
|
||||
@endif
|
||||
|
||||
{{ $appendedIcons ?? '' }}
|
||||
</span>
|
||||
@endif
|
||||
@@ -16,8 +16,8 @@
|
||||
@include('blocks.poll')
|
||||
@livewire('top-torrents')
|
||||
@livewire('top-users')
|
||||
@include('blocks.latest_topics')
|
||||
@include('blocks.latest_posts')
|
||||
@include('blocks.latest_comments')
|
||||
@include('blocks.latest-topics')
|
||||
@include('blocks.latest-posts')
|
||||
@include('blocks.latest-comments')
|
||||
@include('blocks.online')
|
||||
@endsection
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
@include('partials.alerts')
|
||||
</div>
|
||||
<header>
|
||||
@include('partials.top_nav')
|
||||
@include('partials.top-nav')
|
||||
<nav class="secondary-nav">
|
||||
<ol class="breadcrumbsV2">
|
||||
@if (! Route::is('home.index'))
|
||||
@@ -27,7 +27,7 @@
|
||||
</ul>
|
||||
</nav>
|
||||
@if (Session::has('achievement'))
|
||||
@include('partials.achievement_modal')
|
||||
@include('partials.achievement-modal')
|
||||
@endif
|
||||
|
||||
@if (Session::has('errors'))
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
@forelse ($apikeys as $apikey)
|
||||
<tr>
|
||||
<td>
|
||||
<x-user_tag :user="$apikey->user" :anon="false" />
|
||||
<x-user-tag :user="$apikey->user" :anon="false" />
|
||||
</td>
|
||||
<td>{{ $apikey->content }}</td>
|
||||
<td>
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
@if ($application->user === null)
|
||||
N/A
|
||||
@else
|
||||
<x-user_tag :anon="false" :user="$application->user" />
|
||||
<x-user-tag :anon="false" :user="$application->user" />
|
||||
@endif
|
||||
</td>
|
||||
<td>{{ $application->email }}</td>
|
||||
@@ -103,7 +103,7 @@
|
||||
@if ($application->moderated === null)
|
||||
N/A
|
||||
@else
|
||||
<x-user_tag :anon="false" :user="$application->moderated" />
|
||||
<x-user-tag :anon="false" :user="$application->moderated" />
|
||||
@endif
|
||||
</td>
|
||||
<td>
|
||||
|
||||
@@ -114,7 +114,7 @@
|
||||
<tr x-data="blockedIp" data-blocked-ip-id="{{ $ipAddress->id }}">
|
||||
<td>{{ $ipAddress->id }}</td>
|
||||
<td>
|
||||
<x-user_tag :anon="false" :user="$ipAddress->user" />
|
||||
<x-user-tag :anon="false" :user="$ipAddress->user" />
|
||||
</td>
|
||||
<td>{{ $ipAddress->ip_address }}</td>
|
||||
<td>{{ $ipAddress->reason }}</td>
|
||||
|
||||
@@ -83,11 +83,11 @@
|
||||
alt=""
|
||||
/>
|
||||
</figure>
|
||||
<x-user_tag
|
||||
<x-user-tag
|
||||
class="comment__author"
|
||||
:anon="$comment->anon"
|
||||
:user="$comment->user"
|
||||
></x-user_tag>
|
||||
></x-user-tag>
|
||||
@if (! $comment->anon && ! empty($comment->user->title))
|
||||
<p class="comment__author-title">
|
||||
{{ $comment->user->title }}
|
||||
|
||||
@@ -114,7 +114,7 @@
|
||||
<tr>
|
||||
<td>
|
||||
@foreach ($conversation->users as $sender)
|
||||
<x-user_tag :user="$sender" :anon="false" />
|
||||
<x-user-tag :user="$sender" :anon="false" />
|
||||
@endforeach
|
||||
</td>
|
||||
<td>
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
@forelse ($emailUpdates as $emailUpdate)
|
||||
<tr>
|
||||
<td>
|
||||
<x-user_tag :user="$emailUpdate->user" :anon="false" />
|
||||
<x-user-tag :user="$emailUpdate->user" :anon="false" />
|
||||
</td>
|
||||
<td>
|
||||
<time
|
||||
|
||||
@@ -92,7 +92,7 @@
|
||||
@if ($failedLogin->user_id === null)
|
||||
{{ $attempt->username }}
|
||||
@else
|
||||
<x-user_tag :anon="false" :user="$failedLogin->user" />
|
||||
<x-user-tag :anon="false" :user="$failedLogin->user" />
|
||||
@endif
|
||||
</td>
|
||||
<td>{{ $failedLogin->user_id ?? 'Not Found' }}</td>
|
||||
|
||||
@@ -94,14 +94,14 @@
|
||||
@if ($gift->sender === null)
|
||||
Deleted user
|
||||
@else
|
||||
<x-user_tag :user="$gift->sender" :anon="false" />
|
||||
<x-user-tag :user="$gift->sender" :anon="false" />
|
||||
@endif
|
||||
</td>
|
||||
<td>
|
||||
@if ($gift->recipient === null)
|
||||
Deleted user
|
||||
@else
|
||||
<x-user_tag :user="$gift->recipient" :anon="false" />
|
||||
<x-user-tag :user="$gift->recipient" :anon="false" />
|
||||
@endif
|
||||
</td>
|
||||
<td>{{ $gift->bon }}</td>
|
||||
|
||||
@@ -209,7 +209,7 @@
|
||||
@foreach ($histories as $history)
|
||||
<tr>
|
||||
<td>
|
||||
<x-user_tag :user="$history->user" :anon="false" />
|
||||
<x-user-tag :user="$history->user" :anon="false" />
|
||||
</td>
|
||||
<td>
|
||||
{{ $history->torrent_count }}
|
||||
@@ -414,7 +414,7 @@
|
||||
@foreach ($histories as $history)
|
||||
<tr>
|
||||
<td>
|
||||
<x-user_tag :user="$history->user" :anon="false" />
|
||||
<x-user-tag :user="$history->user" :anon="false" />
|
||||
</td>
|
||||
<td>
|
||||
<a
|
||||
|
||||
@@ -227,7 +227,7 @@
|
||||
@forelse ($invites as $invite)
|
||||
<tr>
|
||||
<td>
|
||||
<x-user_tag :anon="false" :user="$invite->sender" />
|
||||
<x-user-tag :anon="false" :user="$invite->sender" />
|
||||
</td>
|
||||
<td>
|
||||
<time
|
||||
@@ -328,7 +328,7 @@
|
||||
<tr>
|
||||
<td>{{ $invite->id }}</td>
|
||||
<td>
|
||||
<x-user_tag :anon="false" :user="$invite->sender" />
|
||||
<x-user-tag :anon="false" :user="$invite->sender" />
|
||||
</td>
|
||||
<td>{{ $invite->email }}</td>
|
||||
<td>{{ $invite->code }}</td>
|
||||
@@ -353,7 +353,7 @@
|
||||
@if ($invite->accepted_by === null)
|
||||
N/A
|
||||
@else
|
||||
<x-user_tag :anon="false" :user="$invite->receiver" />
|
||||
<x-user-tag :anon="false" :user="$invite->receiver" />
|
||||
@endif
|
||||
</td>
|
||||
<td>
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
@foreach ($leakers as $leaker)
|
||||
<tr>
|
||||
<td>
|
||||
<x-user_tag :user="$leaker->user" :anon="false" />
|
||||
<x-user-tag :user="$leaker->user" :anon="false" />
|
||||
</td>
|
||||
<td>
|
||||
{{ round((100 * $leaker->leak_count) / $torrentIdCount) }}%
|
||||
|
||||
@@ -46,10 +46,10 @@
|
||||
<tr x-data="note" data-note-id="{{ $note->id }}">
|
||||
<td>{{ $note->id }}</td>
|
||||
<td>
|
||||
<x-user_tag :anon="false" :user="$note->noteduser" />
|
||||
<x-user-tag :anon="false" :user="$note->noteduser" />
|
||||
</td>
|
||||
<td>
|
||||
<x-user_tag :anon="false" :user="$note->staffuser" />
|
||||
<x-user-tag :anon="false" :user="$note->staffuser" />
|
||||
</td>
|
||||
{{-- format-ignore-start --}}<td style="white-space: pre-wrap">@linkify($note->message)</td>{{-- format-ignore-end --}}
|
||||
<td>
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
@forelse ($passkeys as $passkey)
|
||||
<tr>
|
||||
<td>
|
||||
<x-user_tag :user="$passkey->user" :anon="false" />
|
||||
<x-user-tag :user="$passkey->user" :anon="false" />
|
||||
</td>
|
||||
<td>{{ $passkey->content }}</td>
|
||||
<td>
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
@forelse ($passwordResetHistories as $passwordResetHistory)
|
||||
<tr>
|
||||
<td>
|
||||
<x-user_tag :user="$passwordResetHistory->user" :anon="false" />
|
||||
<x-user-tag :user="$passwordResetHistory->user" :anon="false" />
|
||||
</td>
|
||||
<td>
|
||||
<time
|
||||
|
||||
@@ -340,7 +340,7 @@
|
||||
@foreach ($peers as $peer)
|
||||
<tr>
|
||||
<td>
|
||||
<x-user_tag :user="$peer->user" :anon="false" />
|
||||
<x-user-tag :user="$peer->user" :anon="false" />
|
||||
</td>
|
||||
@if ($groupBy !== 'none')
|
||||
<td style="text-align: right">
|
||||
|
||||
@@ -187,10 +187,10 @@
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<x-user_tag :anon="false" :user="$report->reported" />
|
||||
<x-user-tag :anon="false" :user="$report->reported" />
|
||||
</td>
|
||||
<td>
|
||||
<x-user_tag :anon="false" :user="$report->reporter" />
|
||||
<x-user-tag :anon="false" :user="$report->reporter" />
|
||||
</td>
|
||||
<td>
|
||||
<time
|
||||
@@ -202,7 +202,7 @@
|
||||
</td>
|
||||
<td>
|
||||
@if ($report->staff_id !== null)
|
||||
<x-user_tag :anon="false" :user="$report->staff" />
|
||||
<x-user-tag :anon="false" :user="$report->staff" />
|
||||
@endif
|
||||
</td>
|
||||
<td>
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
@forelse ($rsskeys as $rsskey)
|
||||
<tr>
|
||||
<td>
|
||||
<x-user_tag :user="$rsskey->user" :anon="false" />
|
||||
<x-user-tag :user="$rsskey->user" :anon="false" />
|
||||
</td>
|
||||
<td>{{ $rsskey->content }}</td>
|
||||
<td>
|
||||
|
||||
@@ -973,7 +973,7 @@
|
||||
<td>{{ $torrentRequest->type->name }}</td>
|
||||
<td>{{ $torrentRequest->resolution->name ?? 'Unknown' }}</td>
|
||||
<td>
|
||||
<x-user_tag
|
||||
<x-user-tag
|
||||
:user="$torrentRequest->user"
|
||||
:anon="$torrentRequest->anon"
|
||||
/>
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
</time>
|
||||
</td>
|
||||
<td>
|
||||
<x-user_tag :user="$subtitle->user" :anon="$subtitle->anon" />
|
||||
<x-user-tag :user="$subtitle->user" :anon="$subtitle->anon" />
|
||||
</td>
|
||||
<td>
|
||||
<menu class="data-table__actions">
|
||||
|
||||
@@ -143,11 +143,11 @@
|
||||
{{ $ticket->priority->name }}
|
||||
</td>
|
||||
<td>
|
||||
<x-user_tag :user="$ticket->user" :anon="false" />
|
||||
<x-user-tag :user="$ticket->user" :anon="false" />
|
||||
</td>
|
||||
<td>
|
||||
@if ($ticket->staff)
|
||||
<x-user_tag :user="$ticket->staff" :anon="false" />
|
||||
<x-user-tag :user="$ticket->staff" :anon="false" />
|
||||
@else
|
||||
Unassigned
|
||||
@endif
|
||||
|
||||
@@ -98,7 +98,7 @@
|
||||
@foreach ($this->uploaders as $uploader)
|
||||
<article class="user-stat-card">
|
||||
<h3 class="user-stat-card__username">
|
||||
<x-user_tag
|
||||
<x-user-tag
|
||||
:user="$uploader->user"
|
||||
:anon="$uploader->user->privacy?->private_profile"
|
||||
/>
|
||||
@@ -129,7 +129,7 @@
|
||||
@foreach ($this->downloaders as $downloader)
|
||||
<article class="user-stat-card">
|
||||
<h3 class="user-stat-card__username">
|
||||
<x-user_tag
|
||||
<x-user-tag
|
||||
:user="$downloader->user"
|
||||
:anon="$downloader->user->privacy?->private_profile"
|
||||
/>
|
||||
@@ -162,7 +162,7 @@
|
||||
@foreach ($this->uploaded as $upload)
|
||||
<article class="user-stat-card">
|
||||
<h3 class="user-stat-card__username">
|
||||
<x-user_tag
|
||||
<x-user-tag
|
||||
:user="$upload"
|
||||
:anon="$upload->privacy?->private_profile"
|
||||
/>
|
||||
@@ -196,7 +196,7 @@
|
||||
@foreach ($this->downloaded as $download)
|
||||
<article class="user-stat-card">
|
||||
<h3 class="user-stat-card__username">
|
||||
<x-user_tag
|
||||
<x-user-tag
|
||||
:user="$download"
|
||||
:anon="$download->privacy?->private_profile"
|
||||
/>
|
||||
@@ -230,7 +230,7 @@
|
||||
@foreach ($this->seeders as $seeder)
|
||||
<article class="user-stat-card">
|
||||
<h3 class="user-stat-card__username">
|
||||
<x-user_tag
|
||||
<x-user-tag
|
||||
:user="$seeder->user"
|
||||
:anon="$seeder->user->privacy?->private_profile"
|
||||
/>
|
||||
@@ -261,7 +261,7 @@
|
||||
@foreach ($this->seedtimes as $seedtime)
|
||||
<article class="user-stat-card">
|
||||
<h3 class="user-stat-card__username">
|
||||
<x-user_tag
|
||||
<x-user-tag
|
||||
:user="$seedtime"
|
||||
:anon="$seedtime->privacy?->private_profile"
|
||||
/>
|
||||
@@ -295,7 +295,7 @@
|
||||
@foreach ($this->served as $serve)
|
||||
<article class="user-stat-card">
|
||||
<h3 class="user-stat-card__username">
|
||||
<x-user_tag
|
||||
<x-user-tag
|
||||
:user="$serve"
|
||||
:anon="$serve->privacy?->private_profile"
|
||||
/>
|
||||
@@ -328,7 +328,7 @@
|
||||
@foreach ($this->commenters as $commenter)
|
||||
<article class="user-stat-card">
|
||||
<h3 class="user-stat-card__username">
|
||||
<x-user_tag
|
||||
<x-user-tag
|
||||
:user="$commenter->user"
|
||||
:anon="$commenter->user->privacy?->private_profile"
|
||||
/>
|
||||
@@ -361,7 +361,7 @@
|
||||
@foreach ($this->posters as $poster)
|
||||
<article class="user-stat-card">
|
||||
<h3 class="user-stat-card__username">
|
||||
<x-user_tag
|
||||
<x-user-tag
|
||||
:user="$poster->user"
|
||||
:anon="$poster->user->privacy?->private_profile"
|
||||
/>
|
||||
@@ -392,7 +392,7 @@
|
||||
@foreach ($this->thankers as $thanker)
|
||||
<article class="user-stat-card">
|
||||
<h3 class="user-stat-card__username">
|
||||
<x-user_tag
|
||||
<x-user-tag
|
||||
:user="$thanker->user"
|
||||
:anon="$thanker->user->privacy?->private_profile"
|
||||
/>
|
||||
@@ -425,7 +425,7 @@
|
||||
@foreach ($this->personals as $personal)
|
||||
<article class="user-stat-card">
|
||||
<h3 class="user-stat-card__username">
|
||||
<x-user_tag
|
||||
<x-user-tag
|
||||
:user="$personal->user"
|
||||
:anon="$personal->user->privacy?->private_profile"
|
||||
/>
|
||||
|
||||
@@ -168,7 +168,7 @@
|
||||
@foreach ($torrentDownloads as $torrentDownload)
|
||||
<tr>
|
||||
<td>
|
||||
<x-user_tag
|
||||
<x-user-tag
|
||||
:user="$torrentDownload->user"
|
||||
:anon="false"
|
||||
/>
|
||||
@@ -232,7 +232,7 @@
|
||||
<tr>
|
||||
<td>{{ $torrentDownload->id }}</td>
|
||||
<td>
|
||||
<x-user_tag
|
||||
<x-user-tag
|
||||
:user="$torrentDownload->user"
|
||||
:anon="false"
|
||||
/>
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
<td>{{ $torrentRequest->type->name }}</td>
|
||||
<td>{{ $torrentRequest->resolution->name ?? 'Unknown' }}</td>
|
||||
<td>
|
||||
<x-user_tag
|
||||
<x-user-tag
|
||||
:user="$torrentRequest->user"
|
||||
:anon="$torrentRequest->anon"
|
||||
/>
|
||||
|
||||
@@ -91,7 +91,7 @@
|
||||
<tr>
|
||||
<td>{{ $torrentTrump->id }}</td>
|
||||
<td>
|
||||
<x-user_tag :user="$torrentTrump->user" :anon="false" />
|
||||
<x-user-tag :user="$torrentTrump->user" :anon="false" />
|
||||
</td>
|
||||
<td>
|
||||
@if ($torrentTrump->torrent->trashed())
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
@foreach ($unregisteredInfoHashes as $unregisteredInfoHash)
|
||||
<tr>
|
||||
<td>
|
||||
<x-user_tag
|
||||
<x-user-tag
|
||||
:user="$unregisteredInfoHash->user"
|
||||
:anon="false"
|
||||
/>
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user