When editing the participants of a page it may be better to use the admin theme, or at least this is what I expected. Other tabs like "translate", "revision" all use the admin theme.
Patch following.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | admin_theme_for_participants-2996887-8.patch | 766 bytes | idflood |
Comments
Comment #2
idflood commentedComment #4
jhedstromGood idea!
For node entity routes, this should instead set
_node_operation_routetoTRUEso that the page will use the admin route only if the site hasnode.settings.use_admin_themeset toTRUE.Comment #5
idflood commentedGood catch, here is the updated patch.
Comment #6
das.gautam commentedApplying the patch allows to open "node/%/workflow-participants" pages using admin theme.
Marking it as RTBC.
Comment #7
jhedstromI was thinking something more like this:
That way non-node entity types get the admin theme too.
Comment #8
idflood commentedThanks for the suggestion, I forgot that workflow could be used on non-node things. Here is a new patch.
Comment #10
jhedstromAwesome, thanks for this!