Formatting tweaks to email notifications

This commit is contained in:
snipe 2018-05-08 05:39:11 -07:00
parent 8f64da5bc7
commit 28e7ca5a84
4 changed files with 9 additions and 8 deletions

View file

@ -4,12 +4,6 @@
<tr>
<td class="content-cell" align="center">
{{ Illuminate\Mail\Markdown::parse($slot) }}
@if ($snipeSettings->privacy_policy_link!='')
<a href="{{ $snipeSettings->privacy_policy_link }}">{{ trans('admin/settings/general.privacy_policy') }}</a>
@endif
</td>
</tr>
</table>

View file

@ -45,7 +45,7 @@ Snipe-IT
@endif
@if ($snipeSettings->privacy_policy_link!='')
[{{ $snipeSettings->privacy_policy_link }}]({{ trans('admin/settings/general.privacy_policy') }})
<a href="{{ $snipeSettings->privacy_policy_link }}">{{ trans('admin/settings/general.privacy_policy') }}</a>
@endif
@endcomponent

View file

@ -45,7 +45,7 @@
@endif
@if ($snipeSettings->privacy_policy_link!='')
[{{ $snipeSettings->privacy_policy_link }}]({{ trans('admin/settings/general.privacy_policy') }})
<a href="{{ $snipeSettings->privacy_policy_link }}">{{ trans('admin/settings/general.privacy_policy') }}</a>ldfkgjg
@endif
@endcomponent

View file

@ -196,6 +196,13 @@ $style = [
<a style="{{ $style['anchor'] }}" href="{{ url('/') }}" target="_blank">{{ $snipeSettings->site_name }}</a>.
All rights reserved.
</p>
@if ($snipeSettings->privacy_policy_link!='')
<p style="{{ $style['paragraph-sub'] }}">
<a href="{{ $snipeSettings->privacy_policy_link }}">{{ trans('admin/settings/general.privacy_policy') }}</a>
</p>
@endif
</td>
</tr>
</table>