From 05ff2b256c8ded02dd626a73e2009b84b0a95444 Mon Sep 17 00:00:00 2001 From: Nafies Luthfi Date: Tue, 20 Mar 2018 17:39:35 +0800 Subject: [PATCH] Update reset password views Remove unused files --- resources/lang/en/passwords.php | 12 ++++++------ resources/lang/id/passwords.php | 11 ++++++----- resources/views/auth/partials/_notifications.blade.php | 15 --------------- resources/views/auth/passwords/email.blade.php | 14 +++++++++----- resources/views/auth/passwords/reset.blade.php | 13 ++++++------- 5 files changed, 27 insertions(+), 38 deletions(-) delete mode 100644 resources/views/auth/partials/_notifications.blade.php diff --git a/resources/lang/en/passwords.php b/resources/lang/en/passwords.php index e73b56d..b076092 100644 --- a/resources/lang/en/passwords.php +++ b/resources/lang/en/passwords.php @@ -13,10 +13,10 @@ return [ | */ - 'password' => 'Passwords must be at least six characters and match the confirmation.', - 'user' => "We can't find a user with that e-mail address.", - 'token' => 'This password reset token is invalid.', - 'sent' => 'We have e-mailed your password reset link!', - 'reset' => 'Your password has been reset!', - + 'password' => 'Passwords must be at least six characters and match the confirmation.', + 'user' => "We can't find a user with that e-mail address.", + 'token' => 'This password reset token is invalid.', + 'sent' => 'We have e-mailed your password reset link!', + 'reset' => 'Your password has been reset!', + 'back_to_login' => 'Back to Login', ]; diff --git a/resources/lang/id/passwords.php b/resources/lang/id/passwords.php index 6659543..08826eb 100644 --- a/resources/lang/id/passwords.php +++ b/resources/lang/id/passwords.php @@ -13,9 +13,10 @@ return [ | */ - 'password' => 'Password harus minimal enam karakter dan cocok dengan konfirmasi.', - 'user' => 'Kami tidak dapat menemukan pengguna dengan email tersebut.', - 'token' => 'Token Reset Password tidak sah.', - 'sent' => 'Kami sudah mengirim email yang berisi tautan untuk mereset Password Anda!', - 'reset' => 'Password Anda sudah direset!', + 'password' => 'Password harus minimal enam karakter dan cocok dengan konfirmasi.', + 'user' => 'Kami tidak dapat menemukan pengguna dengan email tersebut.', + 'token' => 'Token Reset Password tidak sah.', + 'sent' => 'Kami sudah mengirim email yang berisi tautan untuk mereset Password Anda!', + 'reset' => 'Password Anda sudah direset!', + 'back_to_login' => 'Kembali ke Login', ]; diff --git a/resources/views/auth/partials/_notifications.blade.php b/resources/views/auth/partials/_notifications.blade.php deleted file mode 100644 index 6b772f4..0000000 --- a/resources/views/auth/partials/_notifications.blade.php +++ /dev/null @@ -1,15 +0,0 @@ -@if (session('status')) -
- {{ session('status') }} -
-@endif -@if (count($errors) > 0) -
- Ups! Mohon cek kembali form berikut. - -
-@endif \ No newline at end of file diff --git a/resources/views/auth/passwords/email.blade.php b/resources/views/auth/passwords/email.blade.php index edf3d94..442abc0 100644 --- a/resources/views/auth/passwords/email.blade.php +++ b/resources/views/auth/passwords/email.blade.php @@ -1,17 +1,21 @@ @extends('layouts.guest') -@section('title', trans('auth.reset_password')) +@section('title', __('auth.reset_password')) @section('content')
diff --git a/resources/views/auth/passwords/reset.blade.php b/resources/views/auth/passwords/reset.blade.php index 8857fc8..6bb5203 100644 --- a/resources/views/auth/passwords/reset.blade.php +++ b/resources/views/auth/passwords/reset.blade.php @@ -1,22 +1,21 @@ @extends('layouts.guest') -@section('title', trans('auth.reset_password')) +@section('title', __('auth.reset_password')) @section('content')