Added a publish status badge helper for detail page views