Merge branch 'master' of https://github.com/brkcvn/akaunting into code-clean
This commit is contained in:
@ -25,7 +25,7 @@
|
||||
<div>
|
||||
<x-tooltip id="{{ $key }}" placement="top" message="{{ trans($action['name']) }}">
|
||||
<x-button @click="onChangeBulkAction('{{ $key }}')"
|
||||
id="button-bulk-action-{{ $key }}"
|
||||
id="index-bulk-actions-{{ $key }}"
|
||||
class="relative w-8 h-8 flex items-center px-2 mr-2 rounded-lg hover:bg-gray-200"
|
||||
override="class"
|
||||
data-message="{{ ! empty($action['message']) ? trans_choice($action['message'], 2, ['type' => strtolower(trans_choice($text, 2))]) : '' }}"
|
||||
@ -40,7 +40,7 @@
|
||||
<div>
|
||||
<x-tooltip id="{{ $key }}" placement="top" message="{{ trans($action['name']) }}">
|
||||
<x-button @click="onChangeBulkAction('{{ $key }}')"
|
||||
id="button-bulk-action-{{ $key }}"
|
||||
id="index-bulk-actions-{{ $key }}"
|
||||
class="w-8 h-8 flex items-center px-2 rounded-lg hover:bg-gray-200"
|
||||
override="class"
|
||||
data-message="{{ ! empty($action['message']) ? trans_choice($action['message'], 2, ['type' => strtolower(trans_choice($text, 2))]) : '' }}"
|
||||
|
@ -6,7 +6,9 @@
|
||||
<div @class(['w-1/2 sm:w-1/3 text-center'])>
|
||||
@if (! empty($item['tooltip']))
|
||||
<x-tooltip id="tooltip-summary-{{ $loop->index }}" placement="top" message="{!! $item['tooltip'] !!}">
|
||||
@if (! empty($item['href']))
|
||||
<x-link href="{{ $item['href'] }}" class="group" override="class">
|
||||
@endif
|
||||
@php $text_color = (! empty($item['text_color'])) ? $item['text_color'] : 'text-purple group-hover:text-purple-700'; @endphp
|
||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2'])>
|
||||
{!! $item['amount'] !!}
|
||||
@ -16,10 +18,14 @@
|
||||
<span class="font-light mt-3">
|
||||
{!! $item['title'] !!}
|
||||
</span>
|
||||
@if (! empty($item['href']))
|
||||
</x-link>
|
||||
@endif
|
||||
</x-tooltip>
|
||||
@else
|
||||
@if (! empty($item['href']))
|
||||
<x-link href="{{ $item['href'] }}" class="group" override="class">
|
||||
@endif
|
||||
@php $text_color = (! empty($item['text_color'])) ? $item['text_color'] : 'text-purple group-hover:text-purple-700'; @endphp
|
||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2'])>
|
||||
{!! $item['amount'] !!}
|
||||
@ -29,7 +35,9 @@
|
||||
<span class="font-light mt-3">
|
||||
{!! $item['title'] !!}
|
||||
</span>
|
||||
@if (! empty($item['href']))
|
||||
</x-link>
|
||||
@endif
|
||||
@endif
|
||||
</div>
|
||||
@endforeach
|
||||
@ -180,4 +188,4 @@
|
||||
</div>
|
||||
@endif
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
Reference in New Issue
Block a user