diff --git a/app/Http/Livewire/UserTable.php b/app/Http/Livewire/UserTable.php index f7ec6a6..cf9dfab 100644 --- a/app/Http/Livewire/UserTable.php +++ b/app/Http/Livewire/UserTable.php @@ -67,9 +67,9 @@ class UserTable extends DataTableComponent 'id' => $row->id ]); if ($row->email_verified_at == '') { - return '' . __('messages.Pending') . ''; + return '' . __('messages.Pending') . ''; } else { - return '' . __('messages.Verified') . ''; + return '' . __('messages.Verified') . ''; } } } else { @@ -85,9 +85,9 @@ class UserTable extends DataTableComponent } else { $route = route('blockUser', ['block' => $row->block, 'id' => $row->id]); if ($row->block === 'yes') { - $badge = ''.__('messages.Pending').''; + $badge = ''.__('messages.Pending').''; } elseif ($row->block === 'no') { - $badge = ''.__('messages.Approved').''; + $badge = ''.__('messages.Approved').''; } return "$badge"; } diff --git a/resources/views/panel/users.blade.php b/resources/views/panel/users.blade.php index 6f46655..a18a0f2 100755 --- a/resources/views/panel/users.blade.php +++ b/resources/views/panel/users.blade.php @@ -27,6 +27,7 @@ + {{__('messages.Add new user')}} - + + + +