added module enabled function

This commit is contained in:
denisdulici
2020-05-17 02:46:03 +03:00
parent adf87170ad
commit 2ef5502172
2 changed files with 28 additions and 23 deletions

View File

@ -8,7 +8,7 @@
@php $color = 'bg-green'; @endphp
@if (!$installed[$module->slug])
@php $color = 'bg-yellow'; @endphp
@php $color = 'bg-warning'; @endphp
@endif
<span class="mr--3 float-right">
<span class="badge {{ $color }} text-white">{{ trans('modules.badge.installed') }}</span>