mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 22:07:29 -08:00
Removed old emaol templates (#6026)
Still testing this to make sure it doesn’t break anything else :)
This commit is contained in:
parent
f5a5d830a5
commit
ffed306ecd
|
@ -1,66 +0,0 @@
|
|||
@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.accessory_name') }}
|
||||
</td>
|
||||
<td>
|
||||
<strong>{{ $item_name }}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{{ trans('mail.checkout_date') }}
|
||||
</td>
|
||||
<td>
|
||||
<strong>{{ $checkout_date }}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
@if ($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_accessory') }}
|
||||
|
||||
@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="{{ url('/') }}/account/accept-asset/{{ $log_id }}">{{ trans('mail.i_have_read') }}</a></strong></p>
|
||||
@endif
|
||||
|
||||
@if ($snipeSettings->show_url_in_emails=='1')
|
||||
<p><a href="{{ url('/') }}">{{ $snipeSettings->site_name }}</a></p>
|
||||
@else
|
||||
<p>{{ $snipeSettings->site_name }}</p>
|
||||
@endif
|
||||
|
||||
@stop
|
|
@ -1,126 +0,0 @@
|
|||
@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($manufacturer_name))
|
||||
<tr>
|
||||
<td>
|
||||
{{ trans('general.manufacturer') }}
|
||||
</td>
|
||||
<td>
|
||||
<strong>{{ $manufacturer_name }}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@if (isset($model_name))
|
||||
<tr>
|
||||
<td>
|
||||
{{ trans('general.asset_model') }}:
|
||||
</td>
|
||||
<td>
|
||||
<strong>{{ $model_name }}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@if (isset($model_number))
|
||||
<tr>
|
||||
<td>
|
||||
{{ trans('general.model_no') }}:
|
||||
</td>
|
||||
<td>
|
||||
<strong>{{ $model_number }}</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="{{ url('/') }}/account/accept-asset/{{ $log_id }}">{{ trans('mail.i_have_read') }}</a></strong></p>
|
||||
@endif
|
||||
|
||||
@if ($snipeSettings->show_url_in_emails=='1')
|
||||
<p><a href="{{ url('/') }}">{{ $snipeSettings->site_name }}</a></p>
|
||||
@else
|
||||
<p>{{ $snipeSettings->site_name }}</p>
|
||||
@endif
|
||||
|
||||
@stop
|
|
@ -1,13 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en-US">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
</head>
|
||||
<body>
|
||||
<h2>{{ trans('mail.password_reset') }}</h2>
|
||||
|
||||
<div>
|
||||
{{ trans('mail.to_reset', ['web' => $snipeSettings->site_name]) }} {{ url('password/reset', array($token)) }}.
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,84 +0,0 @@
|
|||
@extends('emails/layouts/default')
|
||||
|
||||
@section('content')
|
||||
<p>{{ trans('mail.hello') }} {{ $first_name }} {{ $last_name }},</p>
|
||||
|
||||
|
||||
<p>{{ trans('mail.the_following_item') }}
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="background-color:#ccc">
|
||||
{{ trans('mail.asset_name') }}
|
||||
</td>
|
||||
<td>
|
||||
<strong>{{ $item_name }}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
@if ($item_tag)
|
||||
<tr>
|
||||
<td style="background-color:#ccc">
|
||||
{{ trans('mail.asset_tag') }}
|
||||
</td>
|
||||
<td>
|
||||
<strong>{{ $item_tag }}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@if (isset($manufacturer_name))
|
||||
<tr>
|
||||
<td style="background-color:#ccc">
|
||||
{{ trans('general.manufacturer') }}
|
||||
</td>
|
||||
<td>
|
||||
<strong>{{ $manufacturer_name }}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@if (isset($model_number))
|
||||
<tr>
|
||||
<td style="background-color:#ccc">
|
||||
{{ trans('general.model_no') }}:
|
||||
</td>
|
||||
<td>
|
||||
<strong>{{ $model_number }}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@if (isset($model_name))
|
||||
<tr>
|
||||
<td style="background-color:#ccc">
|
||||
{{ trans('general.asset_model') }}:
|
||||
</td>
|
||||
<td>
|
||||
<strong>{{ $model_name }}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
<tr>
|
||||
<td style="background-color:#ccc">
|
||||
{{ trans('mail.checkin_date') }}
|
||||
</td>
|
||||
<td>
|
||||
<strong>{{ $checkin_date }}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
@if ($note)
|
||||
<tr>
|
||||
<td style="background-color:#ccc">
|
||||
{{ trans('mail.additional_notes') }}
|
||||
</td>
|
||||
<td>
|
||||
<strong>{{ $note }}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
</table>
|
||||
|
||||
@if ($snipeSettings->show_url_in_emails=='1')
|
||||
<p><a href="{{ url('/') }}">{{ $snipeSettings->site_name }}</a></p>
|
||||
@else
|
||||
<p>{{ $snipeSettings->site_name }}</p>
|
||||
@endif
|
||||
|
||||
@stop
|
|
@ -1,7 +0,0 @@
|
|||
{{ trans('mail.hi') }} {{ $first_name }},
|
||||
|
||||
{{ trans('mail.login_first_admin') }}
|
||||
|
||||
URL: {{ url('/') }}
|
||||
{{ trans('mail.username') }} {{ $username }}
|
||||
{{ trans('mail.password') }} {{ $password }}
|
|
@ -1,17 +0,0 @@
|
|||
@extends('emails/layouts/default')
|
||||
|
||||
@section('content')
|
||||
<p>{{ trans('mail.hello') }} {{ $user->first_name }},</p>
|
||||
|
||||
<p>{{ trans('mail.link_to_update_password', ['web' => $snipeSettings->site_name]) }} </p>
|
||||
|
||||
<p><a href="{{ $forgotPasswordUrl }}">{{ $forgotPasswordUrl }}</a></p>
|
||||
|
||||
<p>{{ trans('mail.best_regards') }}</p>
|
||||
|
||||
@if ($snipeSettings->show_url_in_emails=='1')
|
||||
<p><a href="{{ url('/') }}">{{ $snipeSettings->site_name }}</a></p>
|
||||
@else
|
||||
<p>{{ $snipeSettings->site_name }}</p>
|
||||
@endif
|
||||
@stop
|
|
@ -1,29 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html lang="en-US">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title></title>
|
||||
<style>
|
||||
body, p {
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
td {
|
||||
background-color:#d2d6de;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
p {
|
||||
padding-top: 10px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
@yield('content')
|
||||
|
||||
@if ($snipeSettings->privacy_policy_link!='')
|
||||
<a href="{{ $snipeSettings->privacy_policy_link }}">{{ trans('admin/settings/general.privacy_policy') }}</a>
|
||||
@endif
|
||||
</body>
|
||||
</html>
|
|
@ -1,17 +0,0 @@
|
|||
@extends('emails/layouts/default')
|
||||
|
||||
@section('content')
|
||||
<p>{{ trans('mail.hello') }} {{ $user->first_name }},</p>
|
||||
|
||||
<p>{{ trans('mail.welcome_to', ['web' => $snipeSettings->site_name]) }} {{ trans('mail.click_to_confirm', ['web' => $snipeSettings->site_name]) }}</p>
|
||||
|
||||
<p><a href="{{ $activationUrl }}">{{ $activationUrl }}</a></p>
|
||||
|
||||
<p>{{ trans('mail.best_regards') }}</p>
|
||||
|
||||
@if ($snipeSettings->show_url_in_emails=='1')
|
||||
<p><a href="{{ url('/') }}">{{ $snipeSettings->site_name }}</a></p>
|
||||
@else
|
||||
<p>{{ $snipeSettings->site_name }}</p>
|
||||
@endif
|
||||
@stop
|
|
@ -1,21 +0,0 @@
|
|||
@extends('emails/layouts/default')
|
||||
|
||||
@section('content')
|
||||
<p>{{ trans('mail.hello') }} {{ $first_name }},</p>
|
||||
|
||||
<p>{{ trans('mail.admin_has_created', ['web' => $snipeSettings->site_name]) }} </p>
|
||||
|
||||
<p>URL: <a href="{{ url('/') }}">{{ url('/') }}</a><br>
|
||||
{{ trans('mail.login') }} {{ $username }} <br>
|
||||
{{ trans('mail.password') }} {{ $password }}
|
||||
</p>
|
||||
|
||||
<p>{{ trans('mail.best_regards') }}</p>
|
||||
|
||||
@if ($snipeSettings->show_url_in_emails=='1')
|
||||
<p><a href="{{ url('/') }}">{{ $snipeSettings->site_name }}</a></p>
|
||||
@else
|
||||
<p>{{ $snipeSettings->site_name }}</p>
|
||||
@endif
|
||||
|
||||
@stop
|
|
@ -1 +0,0 @@
|
|||
{{ trans('mail.test_mail_text') }}
|
Loading…
Reference in a new issue