mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Admin: DownloadInvoices / download_files.blade.php
This commit is contained in:
parent
3f5feacf16
commit
8b568d6147
@ -28,14 +28,11 @@ class DownloadInvoices extends Mailable
|
||||
public function build()
|
||||
{
|
||||
return $this->from(config('mail.from.address'), config('mail.from.name'))
|
||||
->subject(ctrans('texts.download_files'))
|
||||
->markdown(
|
||||
'email.admin.download_files',
|
||||
[
|
||||
'url' => $this->file_path,
|
||||
'logo' => $this->company->present()->logo,
|
||||
'whitelabel' => $this->company->account->isPaid() ? true : false,
|
||||
]
|
||||
);
|
||||
->subject(ctrans('texts.download_files'))
|
||||
->view('email.admin.download_files', [
|
||||
'url' => $this->file_path,
|
||||
'logo' => $this->company->present()->logo,
|
||||
'whitelabel' => (bool)$this->company->account->isPaid(),
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
@ -1,36 +1,10 @@
|
||||
@component('email.template.master', ['design' => 'light', 'settings' =>$settings])
|
||||
@component('email.template.admin-light', ['logo' => $logo, 'settings' => $settings])
|
||||
<div class="center">
|
||||
<h1>{{ ctrans('texts.download') }}</h1>
|
||||
<p>{{ ctrans('texts.download_timeframe') }}</p>
|
||||
|
||||
@slot('header')
|
||||
@component('email.components.header', ['p' => '', 'logo' => $logo])
|
||||
@lang('texts.download')
|
||||
@endcomponent
|
||||
|
||||
@endslot
|
||||
|
||||
|
||||
@if(isset($greeting))
|
||||
<p style="padding-top:20px">{{ $greeting }}</p>
|
||||
@endif
|
||||
|
||||
<p style="padding-top:20px">
|
||||
@lang('texts.download_timeframe')
|
||||
</p>
|
||||
|
||||
<p style="padding-top:20px">
|
||||
@component('email.components.button', ['url' => $url])
|
||||
@lang('texts.download')
|
||||
@endcomponent
|
||||
</p>
|
||||
|
||||
@slot('signature')
|
||||
InvoiceNinja (contact@invoiceninja.com)
|
||||
@endslot
|
||||
|
||||
@if(!$whitelabel)
|
||||
@slot('footer')
|
||||
@component('email.components.footer', ['url' => 'https://invoiceninja.com', 'url_text' => '© InvoiceNinja'])
|
||||
For any info, please visit InvoiceNinja.
|
||||
@endcomponent
|
||||
@endslot
|
||||
@endif
|
||||
@endcomponent
|
||||
<a target="_blank" class="button" href="{{ $url }}">
|
||||
{{ ctrans('texts.download') }}
|
||||
</a>
|
||||
</div>
|
||||
@endcomponent
|
||||
|
Loading…
x
Reference in New Issue
Block a user