I am working on a publishing site collection using the Enterprise wiki template. Currently I got this behavior regarding the versioning setting. For the library I specify that the library content needs approval and that any user with read permission can view the pending content.
So now if a user edit the page, its status will be pending and the following message will be shown on the top of the wiki page:-
The above looks fine as users can know that they are reading a non-approved content and they can view the page history to read the approved version.
But the problem is when a pending wiki page got rejected. So all the users will be reading a rejected wiki page, without knowing this , since no message will be displayed.
So i am trying to implement any of these , but i can not find a way:-
- To display a red message at the top of the wiki page if it’s status is rejected (Prefered).
- OR To not allow users to view Rejected content. This can be force if I changed the versioning setting to be :-
But I do not want this setting since users will not be able to see pending contents also , which I want to avoid.
So can anyone advice who to implement any of the above two points?