Was troubleshooting an issue related to Display Suite and Context and noticed that a similar issue was coming up with workbench moderation.

I'm working on a feature that relies on Display Suite Extra module's "view mode per node" setting to allow users to select some different layout options from within a node editing context. When a mode other than $view_mode == 'full' is active, the workbench block doesn't include any info about revision state, current draft or actions. This makes it a bit tricky for users to move things through the editorial workflow, so I created a patch.

It's based on the latest patch from the Context module issue Node related conditions are only triggered for $view_mode == 'full' that I believe covers this use case.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

BBC’s picture

Issue summary: View changes

added link to related issue/patch

BBC’s picture

Version: 7.x-1.3 » 7.x-1.4
Status: Active » Needs review

I just came full circle on this issue and found my own patch from more than a year ago. Still seems to apply cleanly to latest workbench moderation module. Would appreciate review and a commit on this.

Status: Needs review » Needs work

The last submitted patch, show-state-status-actions.patch, failed testing.

The last submitted patch, show-state-status-actions.patch, failed testing.