Sha256: 88b39c7b67991de61e6534fcbc8469c26c5988eb34cc54f48f30dd9d51fd5742

Contents?: true

Size: 1.46 KB

Versions: 5

Compression:

Stored size: 1.46 KB

Contents

<div class="scenario <%= @id %>">
  <a name="<%= @id %>" />
  <div class="title">
    <div style="float: left;">
      <a class="toggle"> - </a>
      <span class="pre"><%= @scenario.keyword %>:</span>
      <span class="name"><%= h @scenario.value %></span>
    </div>
    <a class="link" style="float:right; clear:right;" href="<%= url_for(@scenario.feature, @id) %>">link</a>
  </div>

  <% if @scenario.description.length > 0 %>
  <div class="description">
    <%= htmlify_with_newlines @scenario.description %>
  </div>
  <% end %>

  <% if @scenario.comments.length > 0 %>
  <div class="comments developer">
    <%= htmlify_with_newlines @scenario.comments %>
  </div>
  <% end %>

  <div class="details">
    <div class="meta developer">
      <div class="file"><%= @scenario.location %></div>
      <% unless @scenario.tags.empty? %>
        <div style="clear:right;"></div>
        <div class="tags">
          <% @scenario.tags.each do |tag| %>
            <a href="<%= url_for tag %>"><%= tag.value %></a>
          <% end %>
        </div>
      <% end%>
      <div style="clear: both;"></div>
    </div>

    <div class="steps">
      <% if @scenario.steps.empty?  %>
        <%= erb(:no_steps_defined) %>
      <% else %>
        <%= @steps = @scenario.steps ; erb(:steps) %>
      <% end %>
    </div>

    <%= erb(:outline) if @scenario.outline? %>
  </div>

  <div class="attributes" style="display:none;">
    <input type="hidden" name="collapsed" value="false">
  </div>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

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