Fix event price table not being themed correctly
This commit is contained in:
@@ -270,7 +270,8 @@ class AjaxTableController extends ActionController
|
||||
'roomTypesPax' => $roomTypesPax,
|
||||
'roomTypesLabels' => $roomTypesLabels,
|
||||
'pricetable' => $pricetable,
|
||||
'categories' => $categories
|
||||
'categories' => $categories,
|
||||
'themekey' => $this->settings['themekey'],
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
@@ -48,6 +48,7 @@ plugin.tx_epproducts {
|
||||
groupsPriceToEmail = {$plugin.tx_epproducts.settings.groupsPriceToEmail}
|
||||
groupsPriceToName = {$plugin.tx_epproducts.settings.groupsPriceToName}
|
||||
logoImage = {$plugin.tx_eptheme.settings.logoImage}
|
||||
themekey = {$plugin.tx_eptheme.settings.themekey}
|
||||
datePickerPresets {
|
||||
1 {
|
||||
label = Silvester
|
||||
|
||||
@@ -213,3 +213,8 @@ page {
|
||||
page.headerData.998 >
|
||||
page.headerData.999 >
|
||||
[end]
|
||||
|
||||
[applicationContext == "Development"]
|
||||
page.headerData.998 >
|
||||
page.headerData.999 >
|
||||
[end]
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@
|
||||
<table class="min-w-full border border-gray-200 border-collapse mb-8">
|
||||
<f:for each="{categories}" as="category" key="categoryKey">
|
||||
<f:if condition="{v:variable.get(name: 'pricetable.{categoryKey}', useRawKeys: 1) -> f:count()} > 0">
|
||||
<tr class="text-white {ep:themeClasses(classes: '{sbw: \'bg-sbw-primary\', snz: \'bg-snz-primary\', uch: \'bg-uch-primary\'}', key: settings.themekey)}">
|
||||
<tr class="text-white {ep:themeClasses(classes: '{sbw: \'bg-sbw-primary\', snz: \'bg-snz-primary\', uch: \'bg-uch-primary\'}', key: themekey)}">
|
||||
<td class="px-2 py-1 font-bold border border-gray-200">
|
||||
Apartments {category}
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user