module button styling

This commit is contained in:
Burak Civan
2022-11-28 17:30:25 +03:00
parent 6d047e99e8
commit ef75f2c43e
7 changed files with 29 additions and 10 deletions

View File

@ -1,6 +1,6 @@
@props(['module', 'installed', 'enable'])
<div x-show="price_type == 'monthly'" class="w-full">
<div x-show="price_type == 'monthly'" class="w-full flex space-x-6">
<x-tooltip message="{{ trans('modules.hosted_on_akaunting') }}" placement="top" width="w-full">
<x-link
href="{{ $module->action_url }}"
@ -13,7 +13,7 @@
</x-tooltip>
</div>
<div x-show="price_type == 'yearly'" class="w-full">
<div x-show="price_type == 'yearly'" class="w-full flex space-x-6">
@if (in_array('onprime', $module->where_to_use) || $module->isPurchase)
@if ($installed)
@can('delete-modules-item')
@ -98,7 +98,7 @@
@endif
</div>
<div x-show="price_type == 'lifetime'" class="w-full">
<div x-show="price_type == 'lifetime'" class="w-full flex space-x-6">
@if (empty($module->plan))
@if ($installed)
@can('delete-modules-item')