Skip to content

Commit

Permalink
Merge pull request #8 from ElementareTeilchen/patch-1
Browse files Browse the repository at this point in the history
TASK: Only add js&css to page if plugin is enabled
  • Loading branch information
dlubitz authored Jun 4, 2018
2 parents bc71fe8 + 7b58a93 commit 9310cce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Resources/Private/Fusion/Root.fusion
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ prototype(Page){
}
}
@if.onlyRenderNotInBackend = ${!node.context.inBackend}
@if.isEnabled = ${Configuration.setting('VIVOMEDIA.Fusion.CacheVisualisation.enabled')}
}
}

Expand All @@ -21,5 +22,6 @@ prototype(Page){
}
}
@if.onlyRenderNotInBackend = ${!node.context.inBackend}
@if.isEnabled = ${Configuration.setting('VIVOMEDIA.Fusion.CacheVisualisation.enabled')}
}
}

0 comments on commit 9310cce

Please sign in to comment.