App shoe page changes..
This commit is contained in:
parent
530bea3ce7
commit
d60bef2047
@ -46,8 +46,10 @@ return [
|
||||
'install_cloud' => 'Use on Cloud Service',
|
||||
'get_cloud' => 'Get Cloud Service',
|
||||
'get_premium_cloud' => 'Get Premium Cloud',
|
||||
'only_works_cloud' => 'This app only works on <strong>Cloud Service</strong>.',
|
||||
'only_premium_plan' => 'This app only works on <strong>Cloud Premium Service</strong>.',
|
||||
'switch_to_cloud' => 'Switch to Cloud',
|
||||
'hosted_on_akaunting' => 'Hosted on akaunting.com',
|
||||
'only_works_cloud' => 'This app is available only on <strong>Cloud</strong>.',
|
||||
'only_premium_plan' => 'This app is available only on <strong>Premium Cloud</strong>.',
|
||||
|
||||
'about' => 'About',
|
||||
|
||||
|
@ -1,14 +1,16 @@
|
||||
@props(['module', 'installed', 'enable'])
|
||||
|
||||
@if (! empty($module->plan))
|
||||
<x-tooltip message="{{ trans('modules.hosted_on_akaunting') }}" placement="top">
|
||||
<x-link
|
||||
href="{{ $module->action_url }}"
|
||||
target="_blank"
|
||||
class="bg-green hover:bg-green-700 rounded-md text-white text-sm text-center w-full py-2 truncate"
|
||||
override="class"
|
||||
>
|
||||
{{ trans('modules.get_premium_cloud') }}
|
||||
{{ trans('modules.switch_to_cloud') }}
|
||||
</x-link>
|
||||
</x-tooltip>
|
||||
@elseif (in_array('onprime', $module->where_to_use))
|
||||
@if ($installed)
|
||||
@can('delete-modules-item')
|
||||
@ -81,22 +83,26 @@
|
||||
@endif
|
||||
@else
|
||||
@if ($module->install)
|
||||
<x-tooltip message="{{ trans('modules.hosted_on_akaunting') }}" placement="top">
|
||||
<x-link
|
||||
href="{{ $module->action_url }}"
|
||||
target="_blank"
|
||||
class="bg-green hover:bg-green-700 rounded-md text-white text-sm text-center w-full py-2 truncate"
|
||||
override="class"
|
||||
>
|
||||
{{ trans('modules.install_cloud') }}
|
||||
{{ trans('modules.switch_to_cloud') }}
|
||||
</x-link>
|
||||
</x-tooltip>
|
||||
@else
|
||||
<x-tooltip message="{{ trans('modules.hosted_on_akaunting') }}" placement="top">
|
||||
<x-link
|
||||
href="{{ $module->action_url }}"
|
||||
target="_blank"
|
||||
class="bg-green hover:bg-green-700 rounded-md text-white text-sm text-center w-full py-2 truncate"
|
||||
override="class"
|
||||
>
|
||||
{{ trans('modules.get_cloud') }}
|
||||
{{ trans('modules.switch_to_cloud') }}
|
||||
</x-link>
|
||||
</x-tooltip>
|
||||
@endif
|
||||
@endif
|
||||
|
@ -45,6 +45,9 @@
|
||||
<a href="{{ route('apps.categories.show', $module_category->slug) }}" class="text-sm">
|
||||
{{ $module_category->name }}
|
||||
</a>
|
||||
@if (! $loop->last)
|
||||
,
|
||||
@endif
|
||||
@endforeach
|
||||
</span>
|
||||
</div>
|
||||
@ -94,6 +97,17 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@if (! in_array('onprime', $module->where_to_use))
|
||||
@if (! empty($module->cloud_information))
|
||||
{!! $module->cloud_information !!}
|
||||
@else
|
||||
<div class="text-center text-sm mt-3 mb--2 bg-red-100 rounded-lg p-2 cursor-default">
|
||||
<span class="text-sm text-red-700">
|
||||
{!! trans('modules.only_works_cloud') !!}
|
||||
</span>
|
||||
</div>
|
||||
@endif
|
||||
@else
|
||||
<div class="text-sm truncate line-clamp-1">
|
||||
{!! $module->description !!}
|
||||
</div>
|
||||
@ -109,6 +123,7 @@
|
||||
</div>
|
||||
|
||||
<x-layouts.modules.show.information :module="$module" />
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="flex justify-around mt-5">
|
||||
|
Loading…
x
Reference in New Issue
Block a user