Sha256: 9b84f6f993b3eff0c13c523e5dcd3a02a88f51d26584b005caedf29ed30a3808

Contents?: true

Size: 557 Bytes

Versions: 7

Compression:

Stored size: 557 Bytes

Contents

<%= @text %>

<ul class="nocode smells js-smells">
<% @smells.each do |smell| %>
  <li class="smell <%= smell.status %>">
    <span class="description">
      (<a href="<%= smell.doc_url %>" target="_blank"><%= smell.type %></a>)
      <%= "#{smell.context} #{smell.message}" %>
      <% if smell.multiple_locations? %>
        <% smell.locations.each_with_index do |location, index| %>
          <a href="<%= smell_location_path(location) %>" class="js-smell-location"><%= index %></a>
        <% end %>
      <% end %>
    </span>
  </li>
<% end %>
</ul>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rubycritic-3.0.0 lib/rubycritic/generators/html/templates/smelly_line.html.erb
rubycritic-2.9.4 lib/rubycritic/generators/html/templates/smelly_line.html.erb
rubycritic-2.9.3 lib/rubycritic/generators/html/templates/smelly_line.html.erb
rubycritic-2.9.2 lib/rubycritic/generators/html/templates/smelly_line.html.erb
rubycritic-2.9.1 lib/rubycritic/generators/html/templates/smelly_line.html.erb
rubycritic-2.9.0 lib/rubycritic/generators/html/templates/smelly_line.html.erb
rubycritic-2.8.0 lib/rubycritic/generators/html/templates/smelly_line.html.erb