fixed the template at /log/detail.html.