Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@

<x-mail::message>
# {{ __('You\'re going to') }} {{ $event->getTitle() }}! 🎉
<br>
<br>

@if($order->isOrderAwaitingOfflinePayment())
<div style="border-radius: 4px; background-color: #f8d7da; color: #842029; margin-bottom: 1.5rem; padding: 1rem;">
<p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@
<x-mail::message>
# {{ __('You\'ve received a new order!') }} 🎉

<br>
{{ __('Congratulations! You\'ve received a new order for ') }} <b>{{ $event->getTitle() }}</b>! {{ __('Please find the details below.') }}
<br>
<br>

@if($order->isOrderAwaitingOfflinePayment())
<div style="border-radius: 4px; background-color: #f8d7da; color: #842029; margin-bottom: 1.5rem; padding: 1rem;">
Expand Down
6 changes: 3 additions & 3 deletions backend/resources/views/emails/orders/summary.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

<p>

# {{ __('Event Details') }}
## {{ __('Event Details') }}
**{{ __('Event Name:') }}** {{ $event->getTitle() }}
<br>
**{{ __('Date & Time:') }}** {{ __(':date at :time', ['date' => $displayDate, 'time' => $displayTime]) }}
Expand All @@ -55,14 +55,14 @@
@if($eventSettings->getPostCheckoutMessage() && $order->isOrderCompleted())
<p>

# {{ __('Additional Information') }}
## {{ __('Additional Information') }}

{!! $eventSettings->getPostCheckoutMessage() !!}

</p>
@endif

# {{ __('Order Summary') }}
## {{ __('Order Summary') }}
- **{{ __('Order Number:') }}** {{ $order->getPublicId() }}
- **{{ __('Total Amount:') }}** {{ Currency::format($order->getTotalGross(), $event->getCurrency()) }}

Expand Down
4 changes: 2 additions & 2 deletions backend/resources/views/vendor/mail/html/footer.blade.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<tr>
<td>
<table class="footer" align="center" width="570" cellpadding="0" cellspacing="0" role="presentation">
<table class="footer" align="center" width="600" cellpadding="0" cellspacing="0" role="presentation">
<tr>
<td class="content-cell" align="center">
<td class="footer-cell" align="center">
{{ Illuminate\Mail\Markdown::parse($slot) }}
</td>
</tr>
Expand Down
6 changes: 1 addition & 5 deletions backend/resources/views/vendor/mail/html/header.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@
<tr>
<td class="header">
<a href="{{ $url }}" style="display: inline-block;">
@if (trim($slot) === 'Laravel')
<img src="https://laravel.com/img/notification-logo.png" class="logo" alt="Laravel Logo">
@else
{{ $slot }}
@endif
{{ $slot }}
</a>
</td>
</tr>
14 changes: 12 additions & 2 deletions backend/resources/views/vendor/mail/html/layout.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,28 @@
<meta name="color-scheme" content="light">
<meta name="supported-color-schemes" content="light">
<style>
@media only screen and (max-width: 600px) {
@media only screen and (max-width: 640px) {
.inner-body {
border-radius: 0 !important;
width: 100% !important;
}

.footer {
width: 100% !important;
}

.content-cell {
padding: 28px 24px !important;
}

h1 {
font-size: 22px !important;
}
}

@media only screen and (max-width: 500px) {
.button {
text-align: center;
width: 100% !important;
}
}
Expand All @@ -36,7 +46,7 @@
<!-- Email Body -->
<tr>
<td class="body" width="100%" cellpadding="0" cellspacing="0" style="border: hidden !important;">
<table class="inner-body" align="center" width="570" cellpadding="0" cellspacing="0"
<table class="inner-body" align="center" width="600" cellpadding="0" cellspacing="0"
role="presentation">
<!-- Body content -->
<tr>
Expand Down
6 changes: 2 additions & 4 deletions backend/resources/views/vendor/mail/html/message.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@
<x-slot:header>
<x-mail::header :url="config('app.email_logo_link_url')">
@if($appLogo = config('app.email_logo_url'))
<img src="{{ $appLogo }}" class="logo" alt="{{ config('app.name') }}"
style="max-width: 300px;">
<img src="{{ $appLogo }}" class="logo" alt="{{ config('app.name') }}">
@else
<img src="{{ config('app.frontend_url') }}/logos/hi-events-stacked-light.png" class="logo" alt="{{ config('app.name') }}"
style="max-width: 300px;">
<img src="{{ config('app.frontend_url') }}/logos/hi-events-stacked-light.png" class="logo" alt="{{ config('app.name') }}">
@endif
</x-mail::header>
</x-slot:header>
Expand Down
Loading
Loading