1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Change login urls

This commit is contained in:
David Bomba 2023-06-08 13:47:12 +10:00
parent b6d4d13288
commit 9e604e81f6
3 changed files with 4 additions and 2 deletions

View File

@ -53,6 +53,8 @@ class MigrationCompleted extends Mailable
$data['whitelabel'] = $this->company->account->isPaid() ? true : false;
$data['check_data'] = $this->check_data ?: '';
$data['logo'] = $this->company->present()->logo();
$data['url'] = Ninja::isHosted() ? config('ninja.react_url') : config('ninja.app_url');
$data = array_merge($data, [
'logo' => $this->company->present()->logo(),

View File

@ -106,7 +106,7 @@
<tbody>
<tr>
<td align="center" class="new_button" style="border-radius: 2px; background-color: '.$this->settings->primary_color.'">
<a href="{{ url('/') }}" target="_blank" class="new_button" style="text-decoration: none; border: 1px solid '.$this->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 '.$this->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.account_login') }}</singleline>
</a>
</td>

View File

@ -64,7 +64,7 @@ If your logo imported correctly it will available display below. If it didn't im
{!! ctrans('texts.documents') !!}: {!! count($company->documents) !!}
@endif
{!! url('/') !!}
{!! $url !!}
{!! ctrans('texts.email_signature') !!}