mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Fixes for admin email tempaltes
This commit is contained in:
parent
88d5d14de3
commit
f38c3f93c6
@ -471,7 +471,6 @@ class CompanyExport implements ShouldQueue
|
|||||||
$t->replace(Ninja::transformTranslations($this->company->settings));
|
$t->replace(Ninja::transformTranslations($this->company->settings));
|
||||||
|
|
||||||
$company_reference = Company::find($this->company->id);
|
$company_reference = Company::find($this->company->id);
|
||||||
;
|
|
||||||
|
|
||||||
$nmo = new NinjaMailerObject;
|
$nmo = new NinjaMailerObject;
|
||||||
$nmo->mailable = new DownloadBackup($storage_file_path, $company_reference);
|
$nmo->mailable = new DownloadBackup($storage_file_path, $company_reference);
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" >
|
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" >
|
||||||
<tbody><tr>
|
<tbody><tr>
|
||||||
<td align="center" class="new_button" style="border-radius: 2px; background-color: {{ $settings->primary_color }}">
|
<td align="center" class="new_button" style="border-radius: 2px; background-color: {{ $settings->primary_color }}">
|
||||||
<a href="{{ $url }}" target="_blank" class="new_button" style="text-decoration: none; border: 1px solid {{ settings->primary_color }}; display: inline-block; border-radius: 2px; padding-top: 15px; padding-bottom: 15px; padding-left: 25px; padding-right: 25px; font-size: 20px; color: #fff">
|
<a href="{{ $url }}" target="_blank" class="new_button" style="text-decoration: none; border: 1px solid {{ $settings->primary_color }}; display: inline-block; border-radius: 2px; padding-top: 15px; padding-bottom: 15px; padding-left: 25px; padding-right: 25px; font-size: 20px; color: #fff">
|
||||||
<singleline label="cta button"> {{ ctrans('texts.download') }}</singleline>
|
<singleline label="cta button"> {{ ctrans('texts.download') }}</singleline>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" >
|
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" >
|
||||||
<tbody><tr>
|
<tbody><tr>
|
||||||
<td align="center" class="new_button" style="border-radius: 2px; background-color: {{ $settings->primary_color }}">
|
<td align="center" class="new_button" style="border-radius: 2px; background-color: {{ $settings->primary_color }}">
|
||||||
<a href="{{ $url }}" target="_blank" class="new_button" style="text-decoration: none; border: 1px solid {{ settings->primary_color }}; display: inline-block; border-radius: 2px; padding-top: 15px; padding-bottom: 15px; padding-left: 25px; padding-right: 25px; font-size: 20px; color: #fff">
|
<a href="{{ $url }}" target="_blank" class="new_button" style="text-decoration: none; border: 1px solid {{ $settings->primary_color }}; display: inline-block; border-radius: 2px; padding-top: 15px; padding-bottom: 15px; padding-left: 25px; padding-right: 25px; font-size: 20px; color: #fff">
|
||||||
<singleline label="cta button"> {{ ctrans('texts.download') }}</singleline>
|
<singleline label="cta button"> {{ ctrans('texts.download') }}</singleline>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
@component('email.template.admin', ['logo' => $logo, 'settings' => $settings])
|
@component('email.template.admin', ['logo' => $logo, 'settings' => $settings])
|
||||||
|
|
||||||
<div class="center">
|
<div class="center">
|
||||||
<h1>{{ ctrans('texts.download_backup_subject') }}</h1>
|
<h1>{{ ctrans('texts.download_backup_subject') }}</h1>
|
||||||
<p>{{ ctrans('texts.download_timeframe') }}</p>
|
<p>{{ ctrans('texts.download_timeframe') }}</p>
|
||||||
@ -10,8 +11,8 @@
|
|||||||
<![endif]-->
|
<![endif]-->
|
||||||
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" >
|
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" >
|
||||||
<tbody><tr>
|
<tbody><tr>
|
||||||
<td align="center" class="new_button" style="border-radius: 2px; background-color: {{ $settings->primary_color }}">
|
<td align="center" class="new_button" style="border-radius: 2px; background-color: {{ $settings->primary_color }} ">
|
||||||
<a href="{{ $url }}" target="_blank" class="new_button" style="text-decoration: none; border: 1px solid {{ settings->primary_color }}; display: inline-block; border-radius: 2px; padding-top: 15px; padding-bottom: 15px; padding-left: 25px; padding-right: 25px; font-size: 20px; color: #fff">
|
<a href="{{ $url }}" target="_blank" class="new_button" style="text-decoration: none; border: 1px solid {{ $settings->primary_color }}; display: inline-block; border-radius: 2px; padding-top: 15px; padding-bottom: 15px; padding-left: 25px; padding-right: 25px; font-size: 20px; color: #fff">
|
||||||
<singleline label="cta button"> {{ ctrans('texts.download') }}</singleline>
|
<singleline label="cta button"> {{ ctrans('texts.download') }}</singleline>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" >
|
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" >
|
||||||
<tbody><tr>
|
<tbody><tr>
|
||||||
<td align="center" class="new_button" style="border-radius: 2px; background-color: {{ $settings->primary_color }}">
|
<td align="center" class="new_button" style="border-radius: 2px; background-color: {{ $settings->primary_color }}">
|
||||||
<a href="{{ $url }}" target="_blank" class="new_button" style="text-decoration: none; border: 1px solid {{ settings->primary_color }}; display: inline-block; border-radius: 2px; padding-top: 15px; padding-bottom: 15px; padding-left: 25px; padding-right: 25px; font-size: 20px; color: #fff">
|
<a href="{{ $url }}" target="_blank" class="new_button" style="text-decoration: none; border: 1px solid {{ $settings->primary_color }}; display: inline-block; border-radius: 2px; padding-top: 15px; padding-bottom: 15px; padding-left: 25px; padding-right: 25px; font-size: 20px; color: #fff">
|
||||||
<singleline label="cta button"> {{ ctrans('texts.download') }}</singleline>
|
<singleline label="cta button"> {{ ctrans('texts.download') }}</singleline>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" >
|
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" >
|
||||||
<tbody><tr>
|
<tbody><tr>
|
||||||
<td align="center" class="new_button" style="border-radius: 2px; background-color: {{ $settings->primary_color }}">
|
<td align="center" class="new_button" style="border-radius: 2px; background-color: {{ $settings->primary_color }}">
|
||||||
<a href="{{ $url }}" target="_blank" class="new_button" style="text-decoration: none; border: 1px solid {{ settings->primary_color }}; display: inline-block; border-radius: 2px; padding-top: 15px; padding-bottom: 15px; padding-left: 25px; padding-right: 25px; font-size: 20px; color: #fff">
|
<a href="{{ $url }}" target="_blank" class="new_button" style="text-decoration: none; border: 1px solid {{ $settings->primary_color }}; display: inline-block; border-radius: 2px; padding-top: 15px; padding-bottom: 15px; padding-left: 25px; padding-right: 25px; font-size: 20px; color: #fff">
|
||||||
<singleline label="cta button"> {{ ctrans('texts.download') }}</singleline>
|
<singleline label="cta button"> {{ ctrans('texts.download') }}</singleline>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" >
|
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" >
|
||||||
<tbody><tr>
|
<tbody><tr>
|
||||||
<td align="center" class="new_button" style="border-radius: 2px; background-color: {{ $settings->primary_color }}">
|
<td align="center" class="new_button" style="border-radius: 2px; background-color: {{ $settings->primary_color }}">
|
||||||
<a href="{{ $url }}" target="_blank" class="new_button" style="text-decoration: none; border: 1px solid {{ settings->primary_color }}; display: inline-block; border-radius: 2px; padding-top: 15px; padding-bottom: 15px; padding-left: 25px; padding-right: 25px; font-size: 20px; color: #fff">
|
<a href="{{ $url }}" target="_blank" class="new_button" style="text-decoration: none; border: 1px solid {{ $settings->primary_color }}; display: inline-block; border-radius: 2px; padding-top: 15px; padding-bottom: 15px; padding-left: 25px; padding-right: 25px; font-size: 20px; color: #fff">
|
||||||
<singleline label="cta button"> {{ ctrans('texts.download') }}</singleline>
|
<singleline label="cta button"> {{ ctrans('texts.download') }}</singleline>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" >
|
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" >
|
||||||
<tbody><tr>
|
<tbody><tr>
|
||||||
<td align="center" class="new_button" style="border-radius: 2px; background-color: {{ $settings->primary_color }}">
|
<td align="center" class="new_button" style="border-radius: 2px; background-color: {{ $settings->primary_color }}">
|
||||||
<a href="{{ $view_link }}" target="_blank" class="new_button" style="text-decoration: none; border: 1px solid {{ settings->primary_color }}; display: inline-block; border-radius: 2px; padding-top: 15px; padding-bottom: 15px; padding-left: 25px; padding-right: 25px; font-size: 20px; color: #fff">
|
<a href="{{ $view_link }}" target="_blank" class="new_button" style="text-decoration: none; border: 1px solid {{ $settings->primary_color }}; display: inline-block; border-radius: 2px; padding-top: 15px; padding-bottom: 15px; padding-left: 25px; padding-right: 25px; font-size: 20px; color: #fff">
|
||||||
<singleline label="cta button">{{ $view_text }}</singleline>
|
<singleline label="cta button">{{ $view_text }}</singleline>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
|
@ -151,9 +151,9 @@
|
|||||||
<td align="center">
|
<td align="center">
|
||||||
<div class="dark-bg"
|
<div class="dark-bg"
|
||||||
style="background-color:#f9f9f9; padding-bottom: 20px; margin-top:20px;">
|
style="background-color:#f9f9f9; padding-bottom: 20px; margin-top:20px;">
|
||||||
|
@if($logo)
|
||||||
<img class="" src="{{ $logo ?? '' }}" width="50%" height="" alt="alt_text" border="0" style="width: 50%; max-width: 570px; height: auto; display: block;" class="g-img">
|
<img class="" src="{{ $logo ?? '' }}" width="50%" height="" alt="alt_text" border="0" style="width: 50%; max-width: 570px; height: auto; display: block;" class="g-img">
|
||||||
|
@endif
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user