mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Improve formatting of support messages
This commit is contained in:
parent
c201adecf4
commit
6ed9dc5729
@ -46,7 +46,7 @@ class SupportMessageSent extends Mailable
|
||||
$log_file->seek(PHP_INT_MAX);
|
||||
$last_line = $log_file->key();
|
||||
|
||||
$lines = new LimitIterator($log_file, $last_line - 100, $last_line);
|
||||
$lines = new LimitIterator($log_file, max(0,$last_line - 100), $last_line);
|
||||
$log_lines = iterator_to_array($lines);
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,8 @@
|
||||
@component('email.template.admin', ['settings' => $settings, 'logo' => $logo ?? 'https://www.invoiceninja.com/wp-content/uploads/2015/10/logo-white-horizontal-1.png'])
|
||||
{{-- Body --}}
|
||||
{{ $support_message }}
|
||||
{!! $support_message !!}
|
||||
|
||||
<hr>
|
||||
|
||||
{!! str_replace('\n', '<br>', $system_info) !!}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user