Adjust rating widget as requested

This commit is contained in:
Björn Fromme
2018-08-15 19:24:24 +02:00
parent 90b543d45f
commit a17f9545cf
3 changed files with 6 additions and 3 deletions
@@ -41,6 +41,8 @@ plugin.tx_eptheme {
blogTagListPageUid =
# cat=eptheme/200/240; type=string; label=Groups contact form page UID
groupsContactFormPageUid =
# cat=eptheme/200/250; type=string; label=Rating page UID
ratingPageUid =
# cat=eptheme/400/100; type=string; label=Phone number general
phoneNumber = 0221 - 272 276 0
@@ -80,6 +80,7 @@ plugin.tx_eptheme {
contactFormAutoreplySubject = {$plugin.tx_eptheme.settings.contactFormAutoreplySubject}
groupsContactFormPageUid = {$plugin.tx_eptheme.settings.groupsContactFormPageUid}
blogDetailPageUid = {$plugin.tx_eptheme.settings.blogDetailPageUid}
ratingPageUid = {$plugin.tx_eptheme.settings.ratingPageUid}
}
view {
templateRootPaths.0 = EXT:ep_theme/Resources/Private/Templates
@@ -1,9 +1,9 @@
{namespace ep=EP\EpTheme\ViewHelpers}
<f:if condition="{product.ratingVotesCount} > 0">
<div class="ep-sidebar ep-rating">
<p><strong>Bewertung</strong></p>
<a href="{f:uri.page(pageUid: settings.ratingPageUid)}" class="ep-sidebar ep-rating" title="Reisebewertungen">
<p><strong>Reisebewertung 16/17</strong></p>
<div>
<ep:rating product="{product}"/>
</div>
</div>
</a>
</f:if>