history: display warning when there are no records to show.
Merge branch 'history' into staging