Fa005 submissions file link in notifications (#298)

* fix: unsigned url in form email

* fix: signed file link in email

* fix: use limit function for file  label name

* feat: use signed url  for files in email and csv export

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
This commit is contained in:
Favour Olayinka
2024-01-31 12:21:28 +01:00
committed by GitHub
parent 428ab4f6cf
commit 38cb133e52
6 changed files with 47 additions and 11 deletions

View File

@@ -17,9 +17,14 @@ As a reminder, here are your answers:
--------------------------------------------------------------------------------
**{{$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