Add archive function to status detail page