Create helper to shorten signatures and create links to the repository
browser.
<a data-toggle="collapse" href="#backtrace-crashing-thread"><h3>Crashing thread top frames</h3></a>
<div id="backtrace-crashing-thread" class="collapse in">
%= include 'report/backtrace/frames', frames => $crashing_thread->{frames}
</div>
<a data-toggle="collapse" href="#backtrace-all-threads"><h3>All threads</h3></a>
<div id="backtrace-all-threads" class="collapse in">
% foreach my $thread(@$threads) {
%= include 'report/backtrace/frames', frames => $thread->{frames}
% }
</div>