Sha256: fb197f902f54ee958486e25d8d1dc021012a255e2c1e824538cc58f3b58a0228

Contents?: true

Size: 708 Bytes

Versions: 5

Compression:

Stored size: 708 Bytes

Contents

<% if result["link"].instance_of?(String) %>
    <% unless result["link"].blank? or (result["link"].blank? and result["title"].blank?) %>
        <% if result["thumbnail"] %>
            <li class='with-thumbnail'>
                <div class="row result">
                    <%= render partial: '/quick_search/search/result_with_thumbnail', locals: { result: result } %>
                </div>
            </li>
        <% else %>
            <li class='no-thumbnail'>
                <div class="row result">
                    <%= render partial: '/quick_search/search/result_no_thumbnail', locals: { result: result } %>
                </div>
            </li>
        <% end %>
    <% end %>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
quick_search-core-0.2.0 app/views/quick_search/search/_result.html.erb
quick_search-core-0.1.1 app/views/quick_search/search/_result.html.erb
quick_search-core-0.1.0 app/views/quick_search/search/_result.html.erb
quick_search-core-0.0.1 app/views/quick_search/search/_result.html.erb
quick_search-core-0.0.1.test app/views/quick_search/search/_result.html.erb