summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/search/results.html.erb')
-rw-r--r--app/views/search/results.html.erb19
1 files changed, 0 insertions, 19 deletions
diff --git a/app/views/search/results.html.erb b/app/views/search/results.html.erb
deleted file mode 100644
index c8c6cb2..0000000
--- a/app/views/search/results.html.erb
+++ /dev/null
@@ -1,19 +0,0 @@
-<h1>Search results for "<%= params[:q] %>"</h1>
-
-<%- if @error -%>
-<%= error_msg("The search daemon is currently not available. Please contact " + GLSAMAKER_ADMIN_EMAIL) %>
-<%- else -%>
-
- <%- if @results.include? 'Glsa' -%>
-<%= render :partial => "glsas", :locals => {:results => @results['Glsa']} %>
-<%- end -%>
-
-<%- if @results.include? 'Cve' -%>
-<%= render :partial => "cves", :locals => {:results => @results['Cve']} %>
-<%- end -%>
-
-<%- if @results.empty? -%>
-<%= image_tag 'icons/error.png' %> No results found. :(
-<%- end -%>
-
-<%- end -%> \ No newline at end of file