Skip to content

Commit

Permalink
Email settings: prevent show empty <code> (#2380)
Browse files Browse the repository at this point in the history
  • Loading branch information
billmn authored Sep 15, 2020
1 parent 517d779 commit 278ad21
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions resources/views/utilities/email.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,27 @@
@endif
<tr>
<th class="pl-2 py-1 w-1/4">{{ __('Default From Address') }}</th>
<td><code>{{ config('mail.from.address') }}</code></td>
<td>
@if (config('mail.from.address'))
<code>{{ config('mail.from.address') }}</code>
@endif
</td>
</tr>
<tr>
<th class="pl-2 py-1 w-1/4">{{ __('Default From Name') }}</th>
<td><code>{{ config('mail.from.name') }}</code></td>
<td>
@if (config('mail.from.name'))
<code>{{ config('mail.from.name') }}</code>
@endif
</td>
</tr>
<tr>
<th class="pl-2 py-1 w-1/4">{{ __('Markdown theme') }}</th>
<td><code>{{ config('mail.markdown.theme') }}</code></td>
<td>
@if (config('mail.markdown.theme'))
<code>{{ config('mail.markdown.theme') }}</code>
@endif
</td>
</tr>
<tr>
<th class="pl-2 py-1 w-1/4">{{ __('Markdown paths') }}</th>
Expand Down

0 comments on commit 278ad21

Please sign in to comment.