From 0d63363e491c3bf46d59b6f6eb75a741a7d32f50 Mon Sep 17 00:00:00 2001 From: Julian Prieber Date: Tue, 7 Feb 2023 16:20:17 +0100 Subject: [PATCH] Updated badge system Themes can now overwrite the check mark's colors and styling. --- littlelink/images/verify.svg | 18 ------------------ .../views/components/verify-svg.blade.php | 15 +++++++++++++++ resources/views/littlelink.blade.php | 2 +- 3 files changed, 16 insertions(+), 19 deletions(-) delete mode 100644 littlelink/images/verify.svg create mode 100644 resources/views/components/verify-svg.blade.php diff --git a/littlelink/images/verify.svg b/littlelink/images/verify.svg deleted file mode 100644 index 9935968..0000000 --- a/littlelink/images/verify.svg +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - diff --git a/resources/views/components/verify-svg.blade.php b/resources/views/components/verify-svg.blade.php new file mode 100644 index 0000000..76bb2b0 --- /dev/null +++ b/resources/views/components/verify-svg.blade.php @@ -0,0 +1,15 @@ + + + + + + + + + \ No newline at end of file diff --git a/resources/views/littlelink.blade.php b/resources/views/littlelink.blade.php index d6bf189..3a4ed74 100644 --- a/resources/views/littlelink.blade.php +++ b/resources/views/littlelink.blade.php @@ -259,7 +259,7 @@ function get_operating_system() { @endif -

{{ $info->name }}@if($userinfo->role == 'vip' or $userinfo->role == 'admin') verified @endif

+

{{ $info->name }}@if($userinfo->role == 'vip' or $userinfo->role == 'admin') @include('components.verify-svg') @endif

@if(env('ALLOW_USER_HTML') === true){!! $info->littlelink_description !!}@else{{ $info->littlelink_description }}@endif