Add pending class to detailed history widget as well