templates/report/backtrace/frames.html.ep
author Vincent Tondellier <tonton+hg@team1664.org>
Thu, 07 Aug 2014 23:50:08 +0200
changeset 34 e0d6597078a5
parent 3 2ff78fe4abda
child 37 013953be0f3b
permissions -rw-r--r--
Cleanup: Mojo-ize old code, simplifying perl OO code Make Sql Storage inherit Filesystem, since the DB is only used as an index and still stores on disk

%= t table => (class => 'table table-striped table-bordered table-condensed') => begin
<thead>
  <tr>
    <th>Frame</th>
    <th>Module</th>
    <th class="signature-column">Signature</th>
    <th>Source</th>
  </tr>
</thead>
% foreach my $frame(@$frames) {
<tr>
  %= t td => $frame->{frame}
  %= t td => $frame->{module}
  <td><%= shorten_signature $frame->{function} =%></td>
  <td><%= scm_file_link($frame->{file}, $frame->{line}) =%></td>
</tr>
% }
% end