history: display warning when there are no records to show.