Adjust to translated content
This commit is contained in:
@@ -40,9 +40,13 @@ class SectionCssClassViewHelper extends AbstractViewHelper
|
|||||||
*/
|
*/
|
||||||
protected static $cssClasses = [
|
protected static $cssClasses = [
|
||||||
1 => 'incentives',
|
1 => 'incentives',
|
||||||
|
14 => 'incentives',
|
||||||
2 => 'teambuilding',
|
2 => 'teambuilding',
|
||||||
|
18 => 'teambuilding',
|
||||||
3 => 'meetings',
|
3 => 'meetings',
|
||||||
|
16 => 'meetings',
|
||||||
4 => 'events',
|
4 => 'events',
|
||||||
|
11 => 'events',
|
||||||
];
|
];
|
||||||
|
|
||||||
public function initializeArguments()
|
public function initializeArguments()
|
||||||
|
|||||||
@@ -40,9 +40,13 @@ class SectionIconViewHelper extends AbstractViewHelper
|
|||||||
*/
|
*/
|
||||||
protected static $icons = [
|
protected static $icons = [
|
||||||
1 => 'icon_incentives',
|
1 => 'icon_incentives',
|
||||||
|
14 => 'icon_incentives',
|
||||||
2 => 'icon_teambuilding',
|
2 => 'icon_teambuilding',
|
||||||
|
18 => 'icon_teambuilding',
|
||||||
3 => 'icon_meetings',
|
3 => 'icon_meetings',
|
||||||
|
16 => 'icon_meetings',
|
||||||
4 => 'icon_events',
|
4 => 'icon_events',
|
||||||
|
11 => 'icon_events',
|
||||||
];
|
];
|
||||||
|
|
||||||
public function initializeArguments()
|
public function initializeArguments()
|
||||||
|
|||||||
@@ -50,8 +50,8 @@
|
|||||||
<v:menu useShortcutUid="1" levels="1">
|
<v:menu useShortcutUid="1" levels="1">
|
||||||
<f:for each="{menu}" as="item">
|
<f:for each="{menu}" as="item">
|
||||||
<a class="iconnav__link{f:if(condition: item.active, then: ' iconnav__link--active')}" href="{item.link}" title="{item.linktext}">
|
<a class="iconnav__link{f:if(condition: item.active, then: ' iconnav__link--active')}" href="{item.link}" title="{item.linktext}">
|
||||||
<img class="iconnav__icon {ep:sectionCssClass(sectionValue: item.tx_epevents_configurator_travel_type)}" src="{f:uri.resource(path: 'images/{ep:sectionIcon(sectionValue: item.tx_epevents_configurator_travel_type, opaque: 1)}', extensionName: 'ep_events')}" alt="{item.linktext}">
|
<img class="iconnav__icon {ep:sectionCssClass(sectionValue: item.tx_epevents_traveltype)}" src="{f:uri.resource(path: 'images/{ep:sectionIcon(sectionValue: item.tx_epevents_traveltype, opaque: 1)}', extensionName: 'ep_events')}" alt="{item.linktext}">
|
||||||
<span class="iconnav__label {ep:sectionCssClass(sectionValue: item.tx_epevents_configurator_travel_type)}">{item.linktext}</span>
|
<span class="iconnav__label {ep:sectionCssClass(sectionValue: item.tx_epevents_traveltype)}">{item.linktext}</span>
|
||||||
</a>
|
</a>
|
||||||
</f:for>
|
</f:for>
|
||||||
</v:menu>
|
</v:menu>
|
||||||
|
|||||||
Reference in New Issue
Block a user