Closed damilare closed 5 years ago
Another alternative would be to extend VersioningToolbar and override its methods. Which do you prefer?
VersioningToolbar = toolbar_pool.toolbars['djangocms_versioning.cms_toolbars.VersioningToolbar'] class ModerationToolbar(VersioningToolbar): ... toolbar_pool.unregister(VersioningToolbar) toolbar_pool.register(ModerationToolbar)
Another alternative would be to extend VersioningToolbar and override its methods. Which do you prefer?