Added template tag to colour table rows based on the status