add view helpers for notices