How can displaying sugar and fat content in office snacks influence employee eating habits?

The government has ordered sugar and fat boards to be displayed at offices, possibly to promote healthy eating. I want to understand how such measures can actually change people's behavior in a workplace setting.