Make rating widget label configurable
This commit is contained in:
@@ -13,5 +13,6 @@ plugin.tx_epproducts {
|
||||
phoneNumber = {$plugin.tx_eptheme.settings.phoneNumber}
|
||||
bpnBookingUrlTemplateCode = {$plugin.tx_eptheme.settings.bpnBookingUrlTemplateCode}
|
||||
showSkipassBadge = {$plugin.tx_eptheme.settings.showSkipassBadge}
|
||||
ratingWidgetLabel = {$plugin.tx_eptheme.settings.ratingWidgetLabel}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -91,6 +91,8 @@ plugin.tx_eptheme {
|
||||
bpnBookingUrlTemplateCode = base
|
||||
# cat=eptheme/500/150; type=string; label=Search page header image
|
||||
searchPageHeaderImage =
|
||||
# cat=eptheme/500/160; type=string; label=Rating widget label
|
||||
ratingWidgetLabel = Reisebewertung
|
||||
|
||||
# cat=eptheme/800/100; type=boolean; label=Show 'skipass inklusive' badge
|
||||
showSkipassBadge = 1
|
||||
|
||||
@@ -72,6 +72,7 @@ plugin.tx_eptheme {
|
||||
googleMapsApiKey = {$plugin.tx_eptheme.settings.googleMapsApiKey}
|
||||
datePickerPresets < plugin.tx_epproducts.settings.datePickerPresets
|
||||
searchPageHeaderImage = {$plugin.tx_eptheme.settings.searchPageHeaderImage}
|
||||
ratingWidgetLabel = {$plugin.tx_eptheme.settings.ratingWidgetLabel}
|
||||
showSkipassBadge = {$plugin.tx_eptheme.settings.showSkipassBadge}
|
||||
forcePartnerIdSelect = {$plugin.tx_eptheme.settings.forcePartnerIdSelect}
|
||||
contactFormToEmail = {$plugin.tx_eptheme.settings.contactFormToEmail}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{namespace ep=EP\EpTheme\ViewHelpers}
|
||||
<f:if condition="{product.ratingVotesCount} > 0">
|
||||
<a href="{f:uri.page(pageUid: targetPageUid)}" class="ep-sidebar ep-rating" title="Reisebewertungen">
|
||||
<p><strong>Reisebewertung 16/17</strong></p>
|
||||
<p><strong>{label}</strong></p>
|
||||
<div>
|
||||
<ep:rating product="{product}"/>
|
||||
</div>
|
||||
|
||||
@@ -106,7 +106,7 @@
|
||||
</f:link.page>
|
||||
</div>
|
||||
</f:if>
|
||||
<f:render partial="Rating" arguments="{product: product, targetPageUid: settings.ratingPageUid}"/>
|
||||
<f:render partial="Rating" arguments="{product: product, targetPageUid: settings.ratingPageUid, label: settings.ratingWidgetLabel}"/>
|
||||
<f:render partial="Snowreport" arguments="{snowreport: product.region.snowreport}"/>
|
||||
<f:render partial="Officetip" arguments="{officetip: product.officetip}"/>
|
||||
<f:render partial="Teamer" arguments="{teamer: hotel.teamer}"/>
|
||||
@@ -181,7 +181,7 @@
|
||||
</f:link.page>
|
||||
</div>
|
||||
</f:if>
|
||||
<f:render partial="Rating" arguments="{product: product, targetPageUid: settings.ratingPageUid}"/>
|
||||
<f:render partial="Rating" arguments="{product: product, targetPageUid: settings.ratingPageUid, label: settings.ratingWidgetLabel}"/>
|
||||
<f:render partial="Snowreport" arguments="{snowreport: product.region.snowreport}"/>
|
||||
<f:render partial="Officetip" arguments="{officetip: product.officetip}"/>
|
||||
<f:render partial="Teamer" arguments="{teamer: hotel.teamer}"/>
|
||||
|
||||
Reference in New Issue
Block a user