format history panel