History panel: switch to underscore-based templating for all views