snipe-it/resources/views/emails/accept-asset.blade.php
Andrés Núñez 40f00665b3 Translate emails (#2652)
* commit temporal

* final translation commit -- added email translations

* final translation commit -- removed file for spanish translations

* final translation commit -- removed file for spanish translations

* added missing translations

* method overrided and config files back to default

* config files back to default

* config files back to default
2016-09-26 14:13:07 -07:00

92 lines
1.7 KiB
PHP
Executable file

@extends('emails/layouts/default')
@section('content')
<p>{{ trans('mail.hello') }} {{ $first_name }},</p>
<p>{{ trans('mail.new_item_checked') }}</p>
<table>
<tr>
<td>
{{ trans('mail.asset_name') }}
</td>
<td>
<strong>{{ $item_name }}</strong>
</td>
</tr>
@if (isset($item_tag))
<tr>
<td>
{{ trans('mail.asset_tag') }}
</td>
<td>
<strong>{{ $item_tag }}</strong>
</td>
</tr>
@endif
@if (isset($item_serial))
<tr>
<td>
{{ trans('mail.serial') }}
</td>
<td>
<strong>{{ $item_serial }}</strong>
</td>
</tr>
@endif
<tr>
<td>
{{ trans('mail.checkout_date') }}
</td>
<td>
<strong>{{ $checkout_date }}</strong>
</td>
</tr>
@if (isset($expected_checkin))
<tr>
<td>
{{ trans('mail.expecting_checkin_date') }}
</td>
<td>
<strong>{{ $expected_checkin }}</strong>
</td>
</tr>
@endif
@if (isset($note))
<tr>
<td>
{{ trans('mail.additional_notes') }}
</td>
<td>
<strong>{{ $note }}</strong>
</td>
</tr>
@endif
</table>
<p>
@if (($require_acceptance==1) && ($eula!=''))
{{ trans('mail.read_the_terms_and_click') }}
@elseif (($require_acceptance==1) && ($eula==''))
{{ trans('mail.click_on_the_link_asset') }}
@elseif (($require_acceptance==0) && ($eula!=''))
{{ trans('mail.read_the_terms') }}
@endif
</p>
<p><blockquote>{!! $eula !!}</blockquote></p>
@if ($require_acceptance==1)
<p><strong><a href="{{ config('app.url') }}/account/accept-asset/{{ $log_id }}">{{ trans('mail.i_have_read') }}</a></strong></p>
@endif
<p>{{ \App\Models\Setting::getSettings()->site_name }}</p>
@stop