-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved flexibility around enabling better navigator and edit link (#56
) * Added ability for extension to be applied to non-SiteTree objects by moving the `isAPage()` check in to the `showBetterNavigator()` method, which can be overidden. * Added ability for edit link to be enabled via a permission code check, configurable on a per-controller basis. * Switched to using getField/setField for caching whether better navigator should be displayed or not. * Adjusted readme around using custom logic to control the display of the navigator.
- Loading branch information
1 parent
92416ec
commit 507632f
Showing
2 changed files
with
26 additions
and
18 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
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