Skip to content

Commit

Permalink
Merge pull request #4 from Nguonchhay/support-multiple-languages
Browse files Browse the repository at this point in the history
[TASK] Support multiple languages for policy node
  • Loading branch information
Nikdro authored Aug 30, 2018
2 parents 6a5f305 + e93b7d9 commit 7a6f7ea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 71 deletions.
70 changes: 0 additions & 70 deletions Classes/Eel/Helper/LinkBuildingHelper.php

This file was deleted.

7 changes: 6 additions & 1 deletion Resources/Private/Fusion/Root.fusion
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,12 @@ prototype(Neos.Neos:Page) {
deny = ${Translation.translate('deny', null, [], Configuration.setting('KaufmannDigital.CookieConsent.translations.source'), Configuration.setting('KaufmannDigital.CookieConsent.translations.package'))}
link = ${Translation.translate('link-text', null, [], Configuration.setting('KaufmannDigital.CookieConsent.translations.source'), Configuration.setting('KaufmannDigital.CookieConsent.translations.package'))}

href = ${LinkBuilder.fromNodeIdentifier(Configuration.setting('KaufmannDigital.CookieConsent.policyPageNode'))}
href = NodeUri {
node = ${q(site).find('#' + Configuration.setting('KaufmannDigital.CookieConsent.policyPageNode')).get(0)}
absolute = true

@if.isset = ${String.isBlank(Configuration.setting('KaufmannDigital.CookieConsent.policyPageNode')) == false}
}
}

@process.json = ${Json.stringify(value)}
Expand Down

0 comments on commit 7a6f7ea

Please sign in to comment.