Sha256: 4395f9cef9342a2fd2e33708e551abf5e1d218c709ff30fcfc2ce23bcf1dfd50

Contents?: true

Size: 751 Bytes

Versions: 5

Compression:

Stored size: 751 Bytes

Contents

<div class="small-9 columns">
    <%= render partial: '/quick_search/search/result_details', locals: { result: result } %>
</div>
<% unless result["mobile_link"] %>
    <div class="small-3 columns">
        <%= link_to result.link do %>
            <%= image_tag result["thumbnail"], :class => 'thumbnail' %>
        <% end %>
    </div>
<% else %>
    <div class="small-3 columns show-for-medium-up">
        <%= link_to result.link do %>
            <%= image_tag result["thumbnail"], :class => 'thumbnail' %>
        <% end %>
    </div>
    <div class="small-3 columns show-for-small-only">
        <%= link_to result.mobile_link do %>
            <%= image_tag result["thumbnail"], :class => 'thumbnail' %>
        <% end %>
    </div>
<% 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_with_thumbnail.html.erb
quick_search-core-0.1.1 app/views/quick_search/search/_result_with_thumbnail.html.erb
quick_search-core-0.1.0 app/views/quick_search/search/_result_with_thumbnail.html.erb
quick_search-core-0.0.1 app/views/quick_search/search/_result_with_thumbnail.html.erb
quick_search-core-0.0.1.test app/views/quick_search/search/_result_with_thumbnail.html.erb