Separated laravel app to its own folder (#540)

This commit is contained in:
Julien Nahum
2024-08-26 18:24:56 +02:00
committed by GitHub
parent 39b8df5eed
commit 5bd1dda504
546 changed files with 124 additions and 143 deletions

View File

@@ -0,0 +1,34 @@
@component('mail::message', ['noBranding' => $noBranding])
{!! $integrationData->notification_body !!}
@if($form->editable_submissions)
@component('mail::button', ['url' => $form->share_url.'?submission_id='.$submission_id])
{{($form->editable_submissions_button_text ?? 'Edit submission')}}
@endcomponent
@endif
@if($integrationData->notifications_include_submission)
As a reminder, here are your answers:
@foreach($fields as $field)
@if(isset($field['value']))
--------------------------------------------------------------------------------
**{{$field['name']}}**
@if($field['type'] == 'files')
<br />
@foreach($field['email_data'] as $link)
<a href="{{$link['signed_url']}}">{{$link['label']}}</a> <br />
@endforeach
@else
{!! is_array($field['value'])?implode(',',$field['value']):$field['value']!!}
@endif
@endif
@endforeach
@endif
<p style="text-align:center"><small>You are receiving this email because you answered the form: <a href="{{front_url("forms/".$form->slug)}}">"{{$form->title}}"</a>.</small></p>
@endcomponent

View File

@@ -0,0 +1,26 @@
@component('mail::message')
Hey there 👋
Congrats! Your form "{{$form->title}}" was successfully created!
If you want to share your form, here is the link:
@component('mail::panel')
{{$form->share_url}}
@endcomponent
If you want to embed your form to your website, copy and paste the following code:
@component('mail::panel')
{{ '<iframe style="border:none;width:100%;" id="'.$form->slug.'" src="'.$form->share_url.'"></iframe>
<script type="text/javascript" onload="initEmbed(\''.$form->slug.'\')" src="'.front_url("widgets/iframe.min.js").'"></script>' }}
@endcomponent
Finally, we created a **Discord channel** with all the other users to share our news and guides about OpnForm.
I would love to see you there, here is the link:
@component('mail::button', ['url' => config('links.discord')])
Discord Channel
@endcomponent
@endcomponent

View File

@@ -0,0 +1,13 @@
@component('mail::message')
Hello,
We tried to trigger a **{{$integration_name}}** for your form "{{$form->title}}", but it failed. Here is the error that we got:
@component('mail::panel')
{{$error}}
@endcomponent
Contact us via the website live chat if you need any help.
@endcomponent

View File

@@ -0,0 +1,24 @@
@component('mail::message')
Hello there 👋
Your form "{{$form->title}}" has a new submission.
@foreach($fields as $field)
@if(isset($field['value']))
--------------------------------------------------------------------------------
**{{$field['name']}}**
@if($field['type'] == 'files')
<br/>
@foreach($field['email_data'] as $link)
<a href="{{$link['signed_url']}}">{{$link['label']}}</a> <br/>
@endforeach
@else
{!! is_array($field['value'])?implode(',',$field['value']):nl2br(e($field['value']))!!}
@endif
@endif
@endforeach
@endcomponent