Sha256: 9eb754053c547e6c491380e309a79cd9b63117a19c38022448e6e30cc4e9d184

Contents?: true

Size: 736 Bytes

Versions: 11

Compression:

Stored size: 736 Bytes

Contents

<div id="search_results">
  <h1>Search Results <small>(for '<%= h @query %>')</small></h1>
  <p>Showing <%= @visible_results.size %> of <%= @results.size %> results</p>
  <ul>
    <% n = 1 %>
    <% @visible_results.each do |result| %>
      <% name = result.type == :method ? result.name(true).to_s : result.name.to_s %>
      <% path = name.gsub(/(#{Regexp.quote @query})/i, '<strong>\1</strong>') %>
      <li class="r<%= n %>">
        <a href="<%= serializer.serialized_path(result) %>"
          title="<%= result.path %>"><%= path %></a>
          <% if !result.namespace.root? %>
          <small>(<%= result.namespace.path %>)</small>
          <% end %>
      </li>
      <% n = n == 2 ? 1 : 2 %>
    <% end %>
  </ul>
</div>

Version data entries

11 entries across 11 versions & 3 rubygems

Version Path
nutshell-crm-0.0.6.alpha vendor/bundle/gems/yard-0.7.4/lib/yard/server/templates/doc_server/search/html/search.erb
nutshell-crm-0.0.5 vendor/bundle/gems/yard-0.7.4/lib/yard/server/templates/doc_server/search/html/search.erb
nutshell-crm-0.0.4 vendor/bundle/gems/yard-0.7.4/lib/yard/server/templates/doc_server/search/html/search.erb
nutshell-crm-0.0.3 vendor/bundle/gems/yard-0.7.4/lib/yard/server/templates/doc_server/search/html/search.erb
nutshell-crm-0.0.2 vendor/bundle/gems/yard-0.7.4/lib/yard/server/templates/doc_server/search/html/search.erb
yard-0.7.4 lib/yard/server/templates/doc_server/search/html/search.erb
yard-0.7.3 lib/yard/server/templates/doc_server/search/html/search.erb
vanity-1.7.1 vendor/ruby/1.9.1/gems/yard-0.7.2/lib/yard/server/templates/doc_server/search/html/search.erb
yard-0.7.2 lib/yard/server/templates/doc_server/search/html/search.erb
yard-0.7.1 lib/yard/server/templates/doc_server/search/html/search.erb
yard-0.7.0 lib/yard/server/templates/doc_server/search/html/search.erb