Optimize academy

This commit is contained in:
2026-06-09 13:16:01 +02:00
parent f89ee937c0
commit 5af95f6533
109 changed files with 6862 additions and 719 deletions

View File

@@ -0,0 +1,21 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Academy access activation request</title>
</head>
<body>
<h2>Academy support request</h2>
<p><strong>User:</strong> {{ $user->id }} {{ $user->email }}</p>
<p><strong>Issue type:</strong> {{ $issueType ?? 'n/a' }}</p>
<p><strong>Reply-to email:</strong> {{ $contactEmail ?? $user->email }}</p>
<p><strong>Checkout session id:</strong> {{ $sessionId ?? 'n/a' }}</p>
<h3>Message</h3>
<p>{!! nl2br(e($message ?? 'No message provided.')) !!}</p>
<hr>
<p>Sent from Skinbase application.</p>
</body>
</html>

View File

@@ -41,6 +41,11 @@
<div><strong>Email:</strong> <a href="mailto:{{ $application->email }}">{{ $application->email }}</a></div>
@if($application->role)<div><strong>Role:</strong> {{ $application->role }}</div>@endif
@if($application->portfolio)<div><strong>Portfolio:</strong> <a href="{{ $application->portfolio }}">{{ $application->portfolio }}</a></div>@endif
@if($application->payload['data']['source'] ?? false)<div><strong>Source:</strong> {{ $application->payload['data']['source'] }}</div>@endif
@if($application->payload['data']['issue_type'] ?? false)<div><strong>Issue type:</strong> {{ $application->payload['data']['issue_type'] }}</div>@endif
@if($application->payload['data']['session_id'] ?? false)<div><strong>Session ID:</strong> {{ $application->payload['data']['session_id'] }}</div>@endif
@if($application->payload['data']['account_email'] ?? false)<div><strong>Account email:</strong> <a href="mailto:{{ $application->payload['data']['account_email'] }}">{{ $application->payload['data']['account_email'] }}</a></div>@endif
@if($application->payload['data']['user_id'] ?? false)<div><strong>User ID:</strong> {{ $application->payload['data']['user_id'] }}</div>@endif
</div>
</div>