extend erDetail.tpl.html and eoDetail.tpl.html.