-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #714 from waynestate/release/8.10.2
Release/8.10.2
- Loading branch information
Showing
92 changed files
with
761 additions
and
1,167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{{-- | ||
$items => array // ['title', 'description'] | ||
--}} | ||
<ul class="accordion"> | ||
@foreach($data as $item) | ||
<li> | ||
<a href="#definition-{{ $item['promo_item_id'] }}" id="definition-{{ $item['promo_item_id'] }}"><span aria-hidden="true"></span>{{ $item['title'] }}</a> | ||
<div class="content"> | ||
{!! $item['description'] !!} | ||
|
||
<table style="cell-padding: 5px;" class="mt-4 {{ ($item['promo_item_id'] === 'componentConfiguration') ? 'no-stripe' : '' }}"> | ||
@if($item['promo_item_id'] === 'componentConfiguration') | ||
<thead> | ||
<tr> | ||
<th class="md:w-2/5">Page field</th> | ||
<th>Data</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
@foreach($item as $tr => $details) | ||
@if(strpos($tr, 'tr') !== false) | ||
<tr> | ||
<td><pre class="w-full">{!! $details['Page field'] !!}</pre></td> | ||
<td><pre class="w-full">{!! $details['Data'] !!}</pre></td> | ||
</tr> | ||
@endif | ||
@endforeach | ||
</tbody> | ||
@endif | ||
|
||
@if($item['promo_item_id'] === 'promotionGroupDetails') | ||
<thead> | ||
<tr> | ||
<th colspan="2">Available fields</th> | ||
</tr> | ||
</thead> | ||
@foreach($item['table'] as $key => $detail) | ||
<tr> | ||
<td class="font-bold">{{ $key }}</td> | ||
<td>{!! $detail !!}</td> | ||
</tr> | ||
@endforeach | ||
@endif | ||
</table> | ||
</div> | ||
</li> | ||
@endforeach | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
@if(!empty($base['components'])) | ||
<div class="grid grid-cols-1 md:grid-cols-2 items-start gap-y-8 sm:gap-x-4 lg:gap-x-8 mt-8 mb-4"> | ||
@foreach($base['components'] as $componentName => $component) | ||
@if(!empty($component['data']) && !empty($component['component']['filename'])) | ||
@if(\View::exists('components/'.$component['component']['filename'])) | ||
<div class="col-span-2 {{ str_contains($component['component']['filename'], 'column') ? 'md:col-span-1' : 'md:col-span-2' }}"> | ||
@if(!empty($component['component']['heading']))<h2 class="mt-0" id="{{ Str::slug($component['component']['heading']) }}">{{ $component['component']['heading'] }}</h2>@endif | ||
|
||
@include('components/'.$component['component']['filename'], ['data' => $component['data'], 'component' => $component['component']]) | ||
</div> | ||
@endif | ||
@endif | ||
@endforeach | ||
</div> | ||
@endif |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.