implementing display_card_class in project decorator to assemble class for project state card