A free open source IT asset/license management system
Fixed weird parsing in newer markdown
snipe82d8b2ab82ec
diff --git a/resources/lang/en/mail.php b/resources/lang/en/mail.phpindex 65236a0b8a..c34123ed74 100644--- a/resources/lang/en/mail.php+++ b/resources/lang/en/mail.php@@ -9,7 +9,7 @@ return array('asset' => 'Asset:','asset_name' => 'Asset Name:','asset_requested' => 'Asset requested',- 'asset_tag' => 'Asset Tag:',+ 'asset_tag' => 'Asset Tag','assigned_to' => 'Assigned To','best_regards' => 'Best regards,','canceled' => 'Canceled:',diff --git a/resources/views/notifications/markdown/user-inventory.blade.php b/resources/views/notifications/markdown/user-inventory.blade.phpindex 4efe69e01f..cc84542e6f 100644--- a/resources/views/notifications/markdown/user-inventory.blade.php+++ b/resources/views/notifications/markdown/user-inventory.blade.php@@ -6,30 +6,37 @@ This is a reminder of the items currently checked out to you. If you feel this l@component('mail::table')@if ($assets->count() > 0)+## {{ $assets->count() }} Assets-|{{ trans('mail.name') }} |{{ trans('mail.asset_tag') }} |-|:------------- |:-------------|:---------|++<table width="100%">+<tr><th align="left">{{ trans('mail.name') }} </th><th align="left">{{ trans('mail.asset_tag') }}</th></tr>@foreach($assets as $asset)-|{{ $asset->present()->name }} |{{ $asset->asset_tag }} |+<tr><td>{{ $asset->present()->name }}</td><td> {{ $asset->asset_tag }} </td></tr>@endforeach+</table>@endif@if ($accessories->count() > 0)## {{ $accessories->count() }} Accessories-|{{ trans('mail.name') }} |-| |:------------- |++<table width="100%">+<tr><th align="left">{{ trans('mail.name') }} </th></tr>@foreach($accessories as $accessory)-|{{ $accessory->name }} |+<tr><td>{{ $accessory->name }}</td></tr>@endforeach+</table>@endif@if ($licenses->count() > 0)## {{ $licenses->count() }} Licenses-| |:------------- |+<table width="100%">+<tr><th align="left"{{ trans('mail.name') }} </th></tr>@foreach($licenses as $license)-|{{ $asset->$license }} |+<tr><td>{{ $license->name }}</td></tr>@endforeach+</table>@endif