Sha256: 9d7b952496eebb05ae32c7d4796efcadd836fcaac43edbc29f8ed57c25f73282

Contents?: true

Size: 835 Bytes

Versions: 60

Compression:

Stored size: 835 Bytes

Contents

<p>View Warnings</p>
<table>
  <tr>
    <th>Confidence</th>
    <th>Template</th>
    <th>Warning Type</th>
    <th>Message</th>
  </tr>
<% warnings.each_with_index do |warning, i| %>
  <tr>
    <td><%= warning['Confidence']%></td>
    <td>
      <% if warning['Called From'] and warning['Called From'].length > 1 %>
        <div class="template_name" onClick="toggle('callers<%= i %>')" >
          <div>
            <%= warning['Template'] %>
          </div>
          <div class="render_path" id="callers<%= i %>" >
            <%= warning['Called From'].join(' &rarr; ') %> &rarr; <%= warning['Template Name'] %>
          </div>
        </div>
      <% else %>
        <%= warning['Template']%>
      <% end %>
    </td>
    <td><%= warning['Warning Type']%></td>
    <td><%= warning['Message']%></td>
  </tr>
<% end %>
</table>

Version data entries

60 entries across 60 versions & 2 rubygems

Version Path
brakeman-3.1.1 lib/brakeman/report/templates/view_warnings.html.erb
brakeman-min-3.1.1 lib/brakeman/report/templates/view_warnings.html.erb
brakeman-3.1.0 lib/brakeman/report/templates/view_warnings.html.erb
brakeman-min-3.1.0 lib/brakeman/report/templates/view_warnings.html.erb
brakeman-3.0.5 lib/brakeman/report/templates/view_warnings.html.erb
brakeman-min-3.0.5 lib/brakeman/report/templates/view_warnings.html.erb
brakeman-3.0.4 lib/brakeman/report/templates/view_warnings.html.erb
brakeman-min-3.0.4 lib/brakeman/report/templates/view_warnings.html.erb
brakeman-min-3.0.3 lib/brakeman/report/templates/view_warnings.html.erb
brakeman-3.0.3 lib/brakeman/report/templates/view_warnings.html.erb
brakeman-min-3.0.2 lib/brakeman/report/templates/view_warnings.html.erb
brakeman-3.0.2 lib/brakeman/report/templates/view_warnings.html.erb
brakeman-min-3.0.1 lib/brakeman/report/templates/view_warnings.html.erb
brakeman-3.0.1 lib/brakeman/report/templates/view_warnings.html.erb
brakeman-3.0.0 lib/brakeman/report/templates/view_warnings.html.erb
brakeman-min-3.0.0 lib/brakeman/report/templates/view_warnings.html.erb
brakeman-2.6.3 lib/brakeman/report/templates/view_warnings.html.erb
brakeman-min-2.6.3 lib/brakeman/report/templates/view_warnings.html.erb
brakeman-min-2.6.2 lib/brakeman/report/templates/view_warnings.html.erb
brakeman-2.6.2 lib/brakeman/report/templates/view_warnings.html.erb