Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.8] convert email data tables to layout tables #28286

Merged
merged 1 commit into from
Apr 22, 2019
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
6 changes: 3 additions & 3 deletions src/Illuminate/Mail/resources/views/html/button.blade.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<table class="action" align="center" width="100%" cellpadding="0" cellspacing="0">
<table class="action" align="center" width="100%" cellpadding="0" cellspacing="0" role="presentation">
<tr>
<td align="center">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<table width="100%" border="0" cellpadding="0" cellspacing="0" role="presentation">
<tr>
<td align="center">
<table border="0" cellpadding="0" cellspacing="0">
<table border="0" cellpadding="0" cellspacing="0" role="presentation">
<tr>
<td>
<a href="{{ $url }}" class="button button-{{ $color ?? 'primary' }}" target="_blank">{{ $slot }}</a>
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Mail/resources/views/html/footer.blade.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<tr>
<td>
<table class="footer" align="center" width="570" cellpadding="0" cellspacing="0">
<table class="footer" align="center" width="570" cellpadding="0" cellspacing="0" role="presentation">
<tr>
<td class="content-cell" align="center">
{{ Illuminate\Mail\Markdown::parse($slot) }}
Expand Down
6 changes: 3 additions & 3 deletions src/Illuminate/Mail/resources/views/html/layout.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@
}
</style>

<table class="wrapper" width="100%" cellpadding="0" cellspacing="0">
<table class="wrapper" width="100%" cellpadding="0" cellspacing="0" role="presentation">
<tr>
<td align="center">
<table class="content" width="100%" cellpadding="0" cellspacing="0">
<table class="content" width="100%" cellpadding="0" cellspacing="0" role="presentation">
{{ $header ?? '' }}

<!-- Email Body -->
<tr>
<td class="body" width="100%" cellpadding="0" cellspacing="0">
<table class="inner-body" align="center" width="570" cellpadding="0" cellspacing="0">
<table class="inner-body" align="center" width="570" cellpadding="0" cellspacing="0" role="presentation">
<!-- Body content -->
<tr>
<td class="content-cell">
Expand Down
4 changes: 2 additions & 2 deletions src/Illuminate/Mail/resources/views/html/panel.blade.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<table class="panel" width="100%" cellpadding="0" cellspacing="0">
<table class="panel" width="100%" cellpadding="0" cellspacing="0" role="presentation">
<tr>
<td class="panel-content">
<table width="100%" cellpadding="0" cellspacing="0">
<table width="100%" cellpadding="0" cellspacing="0" role="presentation">
<tr>
<td class="panel-item">
{{ Illuminate\Mail\Markdown::parse($slot) }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<table class="promotion" align="center" width="100%" cellpadding="0" cellspacing="0">
<table class="promotion" align="center" width="100%" cellpadding="0" cellspacing="0" role="presentation">
<tr>
<td align="center">
{{ Illuminate\Mail\Markdown::parse($slot) }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<table width="100%" border="0" cellpadding="0" cellspacing="0" role="presentation">
<tr>
<td align="center">
<table border="0" cellpadding="0" cellspacing="0">
<table border="0" cellpadding="0" cellspacing="0" role="presentation">
<tr>
<td>
<a href="{{ $url }}" class="button button-green" target="_blank">{{ $slot }}</a>
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Mail/resources/views/html/subcopy.blade.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<table class="subcopy" width="100%" cellpadding="0" cellspacing="0">
<table class="subcopy" width="100%" cellpadding="0" cellspacing="0" role="presentation">
<tr>
<td>
{{ Illuminate\Mail\Markdown::parse($slot) }}
Expand Down