diff --git a/resources/lang/en-US/admin/settings/general.php b/resources/lang/en-US/admin/settings/general.php index d571d7f55a..c552b5804b 100644 --- a/resources/lang/en-US/admin/settings/general.php +++ b/resources/lang/en-US/admin/settings/general.php @@ -376,5 +376,6 @@ return [ 'profile_edit' => 'Edit Profile', 'profile_edit_help' => 'Allow users to edit their own profiles.', 'default_avatar' => 'Upload default avatar', + 'restore_default_avatar' => 'Restore original default avatar', ]; diff --git a/resources/views/settings/branding.blade.php b/resources/views/settings/branding.blade.php index 59f6acad36..3646605655 100644 --- a/resources/views/settings/branding.blade.php +++ b/resources/views/settings/branding.blade.php @@ -119,6 +119,19 @@ "helpBlock" => trans('general.image_filetypes_help', ['size' => Helper::file_upload_max_size_readable()]), ]) + @if ($setting->default_avatar == '') + +
+ +
+ +
+
+ @endif +