display message on details page