Revert "Revert "merge 1""

This reverts commit 0c463d1f10.
This commit is contained in:
2022-10-24 01:04:22 +01:00
parent 0c463d1f10
commit b89d71b371
166 changed files with 4250 additions and 1833 deletions

View File

@@ -3,7 +3,7 @@
@section('title', config('app.name'))
@section('content_header')
<h1>{{config('app.name')}} / {{__('messages.dashboard')}}</h1>
<h1>{{config('app.name')}} / {{__('Dashboard')}}</h1>
@stop
@section('js')
@@ -67,6 +67,10 @@
</div>
@else
@if($vacancy->requiresDiscord)
<p class="text-muted"><i class="fas fa-info-circle"></i> {{ __('Note: to apply for this position, you must sign in with your Discord account beforehand.') }}</p>
@endif
{!! $vacancy->vacancyFullDescription !!}
<p class="text-sm text-muted">
{{__('Last updated @ :vacancyUpdatedTimeValue', ['vacancyUpdatedTimeValue' => $vacancy->updated_at]) }}
@@ -113,7 +117,7 @@
<div class="icon">
<i class="fas fa-sync"></i>
</div>
<a href="{{ route('showUserApps') }}" class="small-box-footer">{{__('messages.open')}} <i class="fas fa-arrow-circle-right"></i></a>
<a href="{{ route('showUserApps') }}" class="small-box-footer">{{__('Open')}} <i class="fas fa-arrow-circle-right"></i></a>
</div>
</div>
<!-- ./col -->
@@ -257,7 +261,12 @@
<div class="card-footer text-center">
<button type="button" class="btn btn-primary btn-sm" onclick="window.location.href='{{ route('renderApplicationForm', ['vacancySlug' => $vacancy->vacancySlug]) }}'">{{__('Apply')}}</button>
@if ($vacancy->requiresDiscord && !Auth::user()->hasDiscordConnection())
<button type="button" style="background-color: #5865F2" class="btn btn-primary btn-sm" onclick="window.location.href='{{ route('renderApplicationForm', ['vacancySlug' => $vacancy->vacancySlug]) }}'"><i style="color: white" class="fab fa-discord"></i> {{__('Apply with Discord')}}</button>
@else
<button type="button" class="btn btn-primary btn-sm" onclick="window.location.href='{{ route('renderApplicationForm', ['vacancySlug' => $vacancy->vacancySlug]) }}'">{{__('Apply')}}</button>
@endif
<button type="button" class="btn btn-warning btn-sm" onclick="$('#{{ $vacancy->vacancySlug }}-details').modal('show')">{{__('Learn More')}}</button>
</div>
@@ -270,33 +279,6 @@
@endif
</div>
<div class="row mt-4">
<div class="col">
<div class="card">
<div class="card-header">
<h4>
<i class="fa fa-calendar"></i>&nbsp;&nbsp;{{__('Your upcoming interviews')}} (<i>{{__('Coming soon')}}</i>)
</h4>
</div>
<div class="card-body">
<div id="upcomingCalendar"></div>
</div>
</div>
</div>
</div>
@stop
@section('footer')
@include('breadcrumbs.dashboard.footer')