-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUGFIX] Fix main links in backend modules
For some reason f:link.action does not work on every instance (but for sure on some). To prevent any errors we changed the links to f:be.link as it is done in newer versions of LUX anyway.
- Loading branch information
1 parent
41943f8
commit d2d55a3
Showing
2 changed files
with
40 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,40 @@ | ||
<f:link.action action="dashboard" controller="Analysis" class="btn{lux:backend.getClassNameOnAction(onAction:'dashboard',view:view)}"> | ||
<f:be.link | ||
route="lux_LuxAnalysis" | ||
parameters="{tx_lux_lux_luxanalysis:'{action:\'dashboard\',controller:\'Analysis\'}'}" | ||
class="btn{lux:backend.getClassNameOnAction(onAction:'dashboard',view:view)}"> | ||
<f:translate key="LLL:EXT:lux/Resources/Private/Language/locallang_db.xlf:module.analysis.dashboard">dashboard</f:translate> | ||
</f:link.action> | ||
<f:link.action action="content" controller="Analysis" class="btn{lux:backend.getClassNameOnAction(onAction:'content',view:view)}"> | ||
</f:be.link> | ||
<f:be.link | ||
route="lux_LuxAnalysis" | ||
parameters="{tx_lux_lux_luxanalysis:'{action:\'content\',controller:\'Analysis\'}'}" | ||
class="btn{lux:backend.getClassNameOnAction(onAction:'content',view:view)}"> | ||
<f:translate key="LLL:EXT:lux/Resources/Private/Language/locallang_db.xlf:module.analysis.content">content</f:translate> | ||
</f:link.action> | ||
</f:be.link> | ||
<lux:condition.isNewsExtensionActivated> | ||
<f:link.action action="news" controller="Analysis" class="btn{lux:backend.getClassNameOnAction(onAction:'news',view:view)}"> | ||
<f:be.link | ||
route="lux_LuxAnalysis" | ||
parameters="{tx_lux_lux_luxanalysis:'{action:\'news\',controller:\'Analysis\'}'}" | ||
class="btn{lux:backend.getClassNameOnAction(onAction:'news',view:view)}"> | ||
<f:translate key="LLL:EXT:lux/Resources/Private/Language/locallang_db.xlf:module.analysis.news">news</f:translate> | ||
</f:link.action> | ||
</f:be.link> | ||
</lux:condition.isNewsExtensionActivated> | ||
<f:link.action action="utm" controller="Analysis" class="btn{lux:backend.getClassNameOnAction(onAction:'utm',view:view)}"> | ||
<f:be.link | ||
route="lux_LuxAnalysis" | ||
parameters="{tx_lux_lux_luxanalysis:'{action:\'utm\',controller:\'Analysis\'}'}" | ||
class="btn{lux:backend.getClassNameOnAction(onAction:'utm',view:view)}"> | ||
<f:translate key="LLL:EXT:lux/Resources/Private/Language/locallang_db.xlf:module.analysis.utm">UTM</f:translate> | ||
</f:link.action> | ||
<f:link.action action="linkListener" controller="Analysis" class="btn{lux:backend.getClassNameOnAction(onAction:'linkListener',view:view)}"> | ||
</f:be.link> | ||
<f:be.link | ||
route="lux_LuxAnalysis" | ||
parameters="{tx_lux_lux_luxanalysis:'{action:\'linkListener\',controller:\'Analysis\'}'}" | ||
class="btn{lux:backend.getClassNameOnAction(onAction:'linkListener',view:view)}"> | ||
<f:translate key="LLL:EXT:lux/Resources/Private/Language/locallang_db.xlf:module.analysis.linkListeners">Linklisteners</f:translate> | ||
</f:link.action> | ||
</f:be.link> | ||
<lux:condition.isSearchAvailable> | ||
<f:link.action action="search" controller="Analysis" class="btn{lux:backend.getClassNameOnAction(onAction:'search',view:view)}"> | ||
<f:be.link | ||
route="lux_LuxAnalysis" | ||
parameters="{tx_lux_lux_luxanalysis:'{action:\'search\',controller:\'Analysis\'}'}" | ||
class="btn{lux:backend.getClassNameOnAction(onAction:'search',view:view)}"> | ||
<f:translate key="LLL:EXT:lux/Resources/Private/Language/locallang_db.xlf:module.analysis.search">Search</f:translate> | ||
</f:link.action> | ||
</f:be.link> | ||
</lux:condition.isSearchAvailable> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
<f:link.action action="dashboard" controller="Lead" class="btn{lux:backend.getClassNameOnAction(onAction:'dashboard',view:view)}"> | ||
<f:be.link | ||
route="lux_LuxLeads" | ||
parameters="{tx_lux_lux_luxleads:'{action:\'dashboard\',controller:\'Lead\'}'}" | ||
class="btn{lux:backend.getClassNameOnAction(onAction:'dashboard',view:view)}"> | ||
<f:translate key="LLL:EXT:lux/Resources/Private/Language/locallang_db.xlf:module.lead.dashboard">dashboard</f:translate> | ||
</f:link.action> | ||
<f:link.action action="list" controller="Lead" class="btn{lux:backend.getClassNameOnAction(onAction:'list',view:view)}"> | ||
</f:be.link> | ||
<f:be.link | ||
route="lux_LuxLeads" | ||
parameters="{tx_lux_lux_luxleads:'{action:\'list\',controller:\'Lead\'}'}" | ||
class="btn{lux:backend.getClassNameOnAction(onAction:'list',view:view)}"> | ||
<f:translate key="LLL:EXT:lux/Resources/Private/Language/locallang_db.xlf:module.lead.list">list</f:translate> | ||
</f:link.action> | ||
</f:be.link> |