announcements as template include fragment

and check for dismissal_type when rendering template