improved alert templates on empty message
fixed class name
added groups page templates