Sha256: dd32924c330b3bbd9bcd89cb061ece09c4a36d5e453870e264b7e9325ad5eea8
Contents?: true
Size: 810 Bytes
Versions: 3
Compression:
Stored size: 810 Bytes
Contents
<% @searches.each do |search| %> <tr> <td style="width: 15%;"> <%= link_to search.search_type, overview_searches_path(search_type: search.search_type), class: "type-link type-link-#{@search_types.index(search.search_type)}" %> </td> <td><%= search.query %></td> <td style="width: 35%; color: #5cb85c;"> <% if search.converted_at %> <strong>✓</strong> <%= search.convertable ? (Searchjoy.conversion_name ? Searchjoy.conversion_name.call(search.convertable) : "#{search.convertable_type} #{search.convertable_id}") : "Converted" %> <% end %> </td> <td style="width: 20%;" class="num"> <%= time_ago_in_words search.created_at %> ago <div class="text-muted"><%= pluralize search.results_count, "result" %></div> </td> </tr> <% end %>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
searchjoy-0.1.0 | app/views/searchjoy/searches/recent.html.erb |
searchjoy-0.0.10 | app/views/searchjoy/searches/recent.html.erb |
searchjoy-0.0.9 | app/views/searchjoy/searches/recent.html.erb |