Sha256: cac41af19a9ade8b44be4ace26ad66b5619ce4e08cbae1b27d1bfe4c003ccd30

Contents?: true

Size: 707 Bytes

Versions: 4

Compression:

Stored size: 707 Bytes

Contents

<%= @text %>

<div class="nocode errors smells">
<% @smells.each do |smell| %>
  <li>
    <div class="description">
      <div class="heading">
        <span>
          <i class="fa fa-warning" aria-hidden"true"=""></i>
          <a href="<%= smell.doc_url %>" target="_blank"><b><%= smell.type %></b></a>
        </span>
      </div>
      <span><%= "#{smell.context} #{smell.message}" %></span>
      <% if smell.multiple_locations? %>
        <span>Locations:</span>
        <% smell.locations.each_with_index do |location, index| %>
          <a href="<%= smell_location_path(location) %>" class="js-smell-location"><%= index %></a>
        <% end %>
      <% end %>
    </div>
  </li>
<% end %>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rubycritic-3.2.0 lib/rubycritic/generators/html/templates/smelly_line.html.erb
rubycritic-3.1.3 lib/rubycritic/generators/html/templates/smelly_line.html.erb
rubycritic-3.1.2 lib/rubycritic/generators/html/templates/smelly_line.html.erb
rubycritic-3.1.1 lib/rubycritic/generators/html/templates/smelly_line.html.erb