mirror of
https://gh.wpcy.net/https://github.com/hayBIT/freescout2ant.git
synced 2026-07-16 05:23:09 +08:00
19 lines
1.4 KiB
PHP
19 lines
1.4 KiB
PHP
@if (file_exists(storage_path('user_' . auth()->user()->id . '_ant.txt')))
|
|
<a href="#" data-toggle="modal" data-target="#ameise-modal" title="{{ __('Add to Ameise') }}" aria-label="{{ __('Add to Ameise') }}"> <img class="ameise-logo" alt="logo"
|
|
src="{{ Module::getPublicPath(AMEISE_MODULE) . '/images/ameise_icon_bold.svg' }}"></a>
|
|
@else
|
|
@php
|
|
session(['redirect_back' => url()->current()]);
|
|
@endphp
|
|
<a href="{{$url}}" title="{{ __('Connect to Ameise') }}" aria-label="{{ __('Connect to Ameise') }}"> <img class="ameise-logo" alt="logo"
|
|
src="{{ Module::getPublicPath(AMEISE_MODULE) . '/images/ameise_icon_bold.svg' }}"></a>
|
|
@endif
|
|
<link href="{{ asset(Module::getPublicPath(AMEISE_MODULE) . '/css/style.css') }}" rel="stylesheet" type="text/css">
|
|
<input type="hidden" id="ameise_base_url" value="{{ (config('ameisemodule.ameise_mode') == 'test' ? 'https://maklerinfo.inte.dionera.dev/' : 'https://www.maklerinfo.biz/') }}">
|
|
@section('javascripts')
|
|
@parent
|
|
<link href="{{ asset(Module::getPublicPath(AMEISE_MODULE) . '/css/awesomplete.css') }}" rel="stylesheet"
|
|
type="text/css">
|
|
<script src="{{ Module::getPublicPath(AMEISE_MODULE) . '/js/awesomplete.js' }}" {!! \Helper::cspNonceAttr() !!}></script>
|
|
<script src="{{ Module::getPublicPath(AMEISE_MODULE) . '/js/crm.js' }}" {!! \Helper::cspNonceAttr() !!}></script>
|
|
@endsection
|