Files
expense/vendor/jeroennoten/laravel-adminlte/resources/views/components/widget/profile-col-item.blade.php
T
fiqhpratama 453d9bb470 new commit
2024-11-27 11:17:17 +07:00

37 lines
967 B
PHP

<div {{ $attributes->merge(['class' => "col-{$size}"]) }}>
<div class="description-block">
{{-- Icon --}}
@isset($icon)
<i class="{{ $icon }}"></i>
@endisset
{{-- Header --}}
@isset($title)
<h5 class="description-header">
@if(! empty($url) && $urlTarget === 'title')
<a href="{{ $url }}">{{ $title }}</a>
@else
{{ $title }}
@endif
</h5>
@endisset
{{-- Text --}}
@isset($text)
<p class="description-text">
<span class="{{ $makeTextWrapperClass() }}">
@if(! empty($url) && $urlTarget === 'text')
<a href="{{ $url }}">{{ $text }}</a>
@else
{{ $text }}
@endif
</span>
</p>
@endisset
</div>
</div>