From ee417c7dc5f9c57f73e98201788c474f66d841d0 Mon Sep 17 00:00:00 2001 From: r888888888 Date: Sat, 12 Apr 2014 14:30:36 -0700 Subject: [PATCH] indicate on iqdb searches if no match was found --- app/views/iqdb/similar_by_source.html.erb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/views/iqdb/similar_by_source.html.erb b/app/views/iqdb/similar_by_source.html.erb index 8069f9960..ddf739f91 100644 --- a/app/views/iqdb/similar_by_source.html.erb +++ b/app/views/iqdb/similar_by_source.html.erb @@ -3,4 +3,7 @@ <% @download.matches.each do |match| %> <%= PostPresenter.preview(Post.find(match.post_id)) %> <% end %> +<% else %> +

Similar

+

No matches found

<% end %>