Sha256: aff7d2c5dd516806912876d0d6f5275076f2419088fa033a0f42f41e61e6e00b
Contents?: true
Size: 1.7 KB
Versions: 1
Compression:
Stored size: 1.7 KB
Contents
<% if @namespace %> <div id="tags" class="requirements"> <script type="text/javascript" charset="utf-8"> var tag_list = [ <%= tags.collect{|t| "'#{t.value}'" }.join(',') %> ]; $(function() { $("#tag_search").keyup(function(event) { var tags = determine_tags_used_in_formula($("#tag_search")[0].value); display_example_command_line(tags); display_qualifying_features_and_scenarios(tags); }); }); </script> <div class="title"> <span class="name">Requirements Tags</span> </div> <div class="tags"><span class="name">Tags:</span> <%= tags.collect {|tag| linkify(tag,tag.value) }.join(",\n") %> </div> <div> <input id="tag_search" type="text" /> </div> <div id="command_example">cucumber</div> <div id="features"> <div class="title"> <span class="name">Features</span> </div> <% n = 1 %> <% features.each do |feature| %> <li class="feature r<%= n %> <%= feature.tags.collect{|t| t.value }.join(" ") %>"> <%= linkify feature, feature.value %> <small>(<%= h(feature.location) %>)</small> </li> <% n = n == 2 ? 1 : 2 %> <% end %> </div> <div id="scenarios"> <div class="title"> <span class="name">Scenarios</span> </div> <% n = 1 %> <% scenarios.each_with_index do |scenario,index| %> <li class="scenario r<%= n %> <%= scenario.tags.collect{|t| t.value }.join(" ") %>"> <%= linkify scenario.feature, scenario.value %> <small>(<%= h(scenario.feature.location) %>)</small> </li> <% n = n == 2 ? 1 : 2 %> <% end %> </div> </div> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cucumber-in-the-yard-1.6.4 | lib/templates/default/featuretags/html/namespace.erb |