refs #356
This commit is contained in:
parent
1e87247f2a
commit
ab6ec4efb5
@ -7,7 +7,13 @@
|
|||||||
@yield('new_button')
|
@yield('new_button')
|
||||||
@if ($suggestion_modules)
|
@if ($suggestion_modules)
|
||||||
@foreach($suggestion_modules as $suggestion_module)
|
@foreach($suggestion_modules as $suggestion_module)
|
||||||
<span class="new-button"><a href="{{ url($suggestion_module->action_url) }}" target="_blank" class="btn btn-default btn-sm"><span class="fa fa-rocket"></span> {{ $suggestion_module->name }}</a></span>
|
<span class="new-button">
|
||||||
|
@if(strpos($suggestion_module->action_url,'https://akaunting.com/apps') !== false)
|
||||||
|
<a href="{{ url($suggestion_module->action_url) }}" target="_blank" class="btn btn-default btn-sm"><span class="fa fa-rocket"></span> {{ $suggestion_module->name }}</a>
|
||||||
|
@else
|
||||||
|
<a href="{{ url($suggestion_module->action_url) }}" class="btn btn-default btn-sm"><span class="fa fa-rocket"></span> {{ $suggestion_module->name }}</a>
|
||||||
|
@endif
|
||||||
|
</span>
|
||||||
@endforeach
|
@endforeach
|
||||||
@endif
|
@endif
|
||||||
</h1>
|
</h1>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user