diff --git a/resources/lang/en/messages.php b/resources/lang/en/messages.php index 7e2ae11..aaff669 100644 --- a/resources/lang/en/messages.php +++ b/resources/lang/en/messages.php @@ -54,7 +54,9 @@ return [ 'profile' => 'My Profile', 'code' => 'code', 'here' => 'here', - 'auth_req' => 'Please authenticate' + 'auth_req' => 'Please authenticate', + 'eligible' => 'Eligible', + 'ineligible' => 'Ineligible' ], @@ -493,7 +495,36 @@ EOT, 'update_prfl' => 'Update Profile' + ], + + // ==================== USER ACCOUNT MESSAGES (NON-PRIVILEGED) ===================== + + 'user' => [ + + 'app_process' => [ + 'title' => 'Application Process', + 'line1' => 'Please allow up to three days for your application to be processed. Your application will be reviewed by every team member, and will move up in stages.', + 'line2' => 'If an interview is scheduled, you\'ll need to open your application here and confirm the time, date, and location assigned for you.' + ], + + 'account_standing' => 'Account Standing', + 'account_eligibility' => 'Your account is currently :eligibility for application', + 'days_remaining_acc_alt' => 'As of today, there are :days remaining until you\'re permitted to submit another application.', + 'my_ongoingapps' => 'My Ongoing Applications', + + 'submitted' => 'Submitted', + 'peer_approval' => 'Peer Approval', + + 'nothing_to_show' => 'Nothing to show', + 'nothing_to_show_exp' => 'You currently have no applications to display. If you\'re eligible, you may apply once every month.', + + 'directory' => [ + + 'itsyou' => 'It\'s you!', + + + ] + ] - ]; diff --git a/resources/views/dashboard/user/applications.blade.php b/resources/views/dashboard/user/applications.blade.php index 30f514a..afc7000 100644 --- a/resources/views/dashboard/user/applications.blade.php +++ b/resources/views/dashboard/user/applications.blade.php @@ -1,10 +1,10 @@ @extends('adminlte::page') -@section('title', 'Raspberry Network | Applications') +@section('title', config('app.name') . ' | ' . __('messages.application_m.int_applications')) @section('content_header') -
Please allow up to three days for your application to be processed. Your application will be reviewed by every team member, and will move up in stages.
-If an interview is scheduled, you'll need to open your application here and confirm the time, date, and location assigned for you.
+{{__('messages.user.app_process.line1')}}
+{{__('messages.user.app_process.line2')}}
Your account is currently {{($isEligibleForApplication) ? 'eligible' : 'not eligible'}} for application.
+{{__('messages.user.account_eligibility', ['eligibility' => ($isEligibileForApplication) ? __('messages.eligible') : __('messages.ineligible')])}}
@if (!$isEligibleForApplication) -As of today, there are {{$eligibilityDaysRemaining}} days remaining until you're permitted to submit another application.
+{{__('messages.user.days_remaining_acc_alt', ['days' => '' . $eligibilityDaysRemaining .''])}}
@endif - Powered by CarbonNothing to show
-You currently have no applications to display. If you're eligible, you may apply once every month.
+{{__('messages.user.nothing_to_show')}}
+{{__('messages.user.nothing_to_show_exp')}}
- You do not have permission to view this page. + {{__('messages.component_nopermission')}}