Add document publish status to index page

Requires front-end tidy up.