Sha256: a798ee2cb1636e596188adb52d36a582d65b431af413d1c65c738227665e08d8

Contents?: true

Size: 1.05 KB

Versions: 8

Compression:

Stored size: 1.05 KB

Contents

<% n = 'odd' %>
<li class="<%= n %>">
  <div class="item" style="padding-left: 30px">
    <%= all_features_link %>
  </div>
</li>
<% n = n == 'odd' ? 'even' : 'odd' %>
<% @items.each do |feature| %>
<li class="<%= n %>">
  <div class="item" style="padding-left: 30px">
    <%= "<a class='toggle'></a>" unless feature.scenarios.empty? %>
    <%= linkify feature, feature.value %>
    <small style="display: inline;"><%= feature.total_scenarios %></small>
  </div>

  <% n = n == 'odd' ? 'even' : 'odd' %>
  <% if feature.scenarios %>
  <ul>
    <% feature.scenarios.each_with_index do |scenario,index| %>
    <li class="<%= n %>">
      <div class="item" style="padding-left: 45px">
        <span class='object_link'>
           <a href="<%= url_for(scenario.feature,"scenario_#{index}") %>"
               title="<%= h scenario.value %>">
             <%= h scenario.value %>
           </a>
         </span>
         <small><%= scenario.location %></small>
       </div>
    </li>
    <% n = n == 'odd' ? 'even' : 'odd' %>
    <% end %>
  </ul>
  <% end %>

</li>
<% end %>

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
yard-gherkin-turnip-1.0.2 lib/templates/default/fulldoc/html/full_list_features.erb
yard-gherkin-turnip-1.0.1 lib/templates/default/fulldoc/html/full_list_features.erb
yard-gherkin-turnip-1.0.0 lib/templates/default/fulldoc/html/full_list_features.erb
yard-nrser-cucumber-0.1.3 lib/templates/default/fulldoc/html/full_list_features.erb
yard-nrser-cucumber-0.1.2 lib/templates/default/fulldoc/html/full_list_features.erb
yard-nrser-cucumber-0.1.1 lib/templates/default/fulldoc/html/full_list_features.erb
yard-nrser-cucumber-0.1.0 lib/templates/default/fulldoc/html/full_list_features.erb
yard-cucumber-4.0.0 lib/templates/default/fulldoc/html/full_list_features.erb