Sha256: 340f1c1aee7dc62e53d8f7bc9c98b7bb3a704035bdbf143321b2918838e6fcf8

Contents?: true

Size: 1.04 KB

Versions: 5

Compression:

Stored size: 1.04 KB

Contents

<div class="tag">
  <div class="title">
    <span class="pre">Tag:</span>
    <span class="name"><%= @tag.value %></span>
  </div>

  <div class="meta">
    <div class="file">
      <%= @tag.features.size > 0 ? "#{@tag.features.size} feature#{@tag.features.size > 1 ? 's' : ''} (with #{@tag.indirect_scenarios.size} scenario#{@tag.indirect_scenarios.size > 1 ? 's' : ''})" : "" %>
      <%= " and " if @tag.features.size > 0 && @tag.scenarios.size > 0 %>
      <%= @tag.scenarios.size > 0 ? "#{@tag.scenarios.size} scenario#{@tag.scenarios.size > 1 ? 's' : ''}" : "" %>
    </div>
  </div>

  <div style="margin-top: 20px;">&nbsp;</div>

  <% if features && !features.empty? %>
  <div id="features" style="margin-left: 40px;">
    <div class="title"><span class="name">Features</span></div>
  </div>
  <%= alpha_table(features) %>

  <% end %>

  <% if scenarios && !scenarios.empty? %>
  <div id="features" style="margin-left: 40px;">
    <div class="title"><span class="name">Scenarios</span></div>
  </div>
  <%= alpha_table(scenarios) %>
  <% end %>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
yard-lucid-0.5.0 lib/templates/default/tag/html/tag.erb
yard-lucid-0.4.0 lib/templates/default/tag/html/tag.erb
yard-lucid-0.3.0 lib/templates/default/tag/html/tag.erb
yard-lucid-0.2.0 lib/templates/default/tag/html/tag.erb
yard-lucid-0.1.0 lib/templates/default/tag/html/tag.erb