templates/report/backtrace/frames.html.ep
changeset 3 2ff78fe4abda
parent 0 5b78b8c79d9c
child 37 013953be0f3b
equal deleted inserted replaced
2:873ceb7769a8 3:2ff78fe4abda
     1 %= t table => (class => 'table table-striped table-bordered table-condensed') => begin
     1 %= t table => (class => 'table table-striped table-bordered table-condensed') => begin
     2 <thead>
     2 <thead>
     3   <tr>
     3   <tr>
     4     <th>Frame</th>
     4     <th>Frame</th>
     5     <th>Module</th>
     5     <th>Module</th>
     6     <th>Signature</th>
     6     <th class="signature-column">Signature</th>
     7     <th>Source</th>
     7     <th>Source</th>
     8   </tr>
     8   </tr>
     9 </thead>
     9 </thead>
    10 % foreach my $frame(@$frames) {
    10 % foreach my $frame(@$frames) {
    11 <tr>
    11 <tr>
    12   %= t td => $frame->{frame}
    12   %= t td => $frame->{frame}
    13   %= t td => $frame->{module}
    13   %= t td => $frame->{module}
    14   %= t td => $frame->{function}
    14   <td><%= shorten_signature $frame->{function} =%></td>
    15   %= t td => (File::Spec->splitpath($frame->{file}))[-1]
    15   <td><%= scm_file_link($frame->{file}, $frame->{line}) =%></td>
    16 </tr>
    16 </tr>
    17 % }
    17 % }
    18 % end
    18 % end