{{$pagePath := webPath "/manage/updateannouncements" -}} {{$editing := (gt $.announcement.ID 0)}} {{range $a, $announcement := $.announcements -}}{{else}}No announcements{{end}}
Actions Subject Message Staff Timestamp
Edit Delete {{$announcement.Subject}} {{$announcement.Message}} {{$announcement.Staff}} {{formatTimestamp $announcement.Timestamp}}

{{if $editing}}Edit announcement{{else}}Create new announcement{{end}}

{{if $editing}}{{end}}
Subject
Message