phases one of time logged now with log display
This commit is contained in:
@@ -6,26 +6,14 @@
|
||||
$width = $getImageWidth();
|
||||
$tooltip = $getTooltip();
|
||||
|
||||
if (! $alignment instanceof Alignment) {
|
||||
$alignment = filled($alignment) ? (Alignment::tryFrom($alignment) ?? $alignment) : null;
|
||||
if (!$alignment instanceof Alignment) {
|
||||
$alignment = filled($alignment) ? Alignment::tryFrom($alignment) ?? $alignment : null;
|
||||
}
|
||||
@endphp
|
||||
|
||||
<img
|
||||
alt="{{ $getAlt() }}"
|
||||
src="{{ $getUrl() }}"
|
||||
@if (filled($tooltip))
|
||||
x-tooltip="{ content: @js($tooltip), theme: $store.theme, allowHTML: @js($tooltip instanceof \Illuminate\Contracts\Support\Htmlable) }"
|
||||
@endif
|
||||
{{
|
||||
$getExtraAttributeBag()
|
||||
->class([
|
||||
'fi-sc-image',
|
||||
($alignment instanceof Alignment) ? "fi-align-{$alignment->value}" : $alignment,
|
||||
])
|
||||
->style([
|
||||
('height: ' . e($height)) => $height,
|
||||
('width: ' . e($width)) => $width,
|
||||
])
|
||||
}}
|
||||
/>
|
||||
<img alt="{{ $getAlt() }}" src="{{ $getUrl() }}"
|
||||
@if (filled($tooltip)) x-tooltip="{ content: @js($tooltip), theme: $store.theme, allowHTML: @js($tooltip instanceof \Illuminate\Contracts\Support\Htmlable) }" @endif
|
||||
{{ $getExtraAttributeBag()->class(['fi-sc-image', $alignment instanceof Alignment ? "fi-align-{$alignment->value}" : $alignment])->style([
|
||||
'height: ' . e($height) => $height,
|
||||
'width: ' . e($width) => $width,
|
||||
]) }} />
|
||||
|
||||
Reference in New Issue
Block a user