A client asked for a better was to warn editors if they are viewing a revision.
I'm not sure how important it will be for this client to tell the difference between a unpublished node and a revision, but I can see where it might be helpful.
We have a class for "unpublished" content and use that to provide some light shading behind content that is NOT yet published. How about a class for "revisions"?
I'm not seeing any. Is there an easy way to add that class, without custom code?
Comments
Hi Tim. Yes I think at the moment it needs custom code:
It may also be possible to do without that function doing a wildcard search for part of a class as there seem to be classes that include the word
revision
.There is now a module to help with this.
https://backdropcms.org/project/revision_helper
The module allows site editors to select a custom color to display on revisions of nodes, much in the way backdrop puts a background color on unpublished nodes.
It also enables a "warning" message on revision pages. This can be disabled through settings.