diff --git a/app/views/crawlers/courses_crawler/show_basic.html.erb b/app/views/crawlers/courses_crawler/show_basic.html.erb
index 01baf24..761b876 100644
--- a/app/views/crawlers/courses_crawler/show_basic.html.erb
+++ b/app/views/crawlers/courses_crawler/show_basic.html.erb
@@ -1,20 +1,24 @@
Results for "<%= params[:search_term] %>"
- <% @courses.each_with_index do |course| %>
- -
- <%= link_to crawlers_courses_crawler_show_detail_url(:title => course['title'], :detail_url => course['detail_url']) do %>
-
-
- <%= course['title'] %>
+ <% if @courses %>
+ <% @courses.each_with_index do |course| %>
+
-
+ <%= link_to crawlers_courses_crawler_show_detail_url(:title => course['title'], :detail_url => course['detail_url']) do %>
+
+
+ <%= course['title'] %>
+
-
- <% end %>
-
+ <% end %>
+
<%= link_to crawlers_courses_crawler_add_to_fav_url(:title => course['title'], :detail_url => course['detail_url']) do %>
<%= show_svg('favorite-24px.svg') %>
<% end %>
-
+
+ <% end %>
+ <% else %>
+ Could not find anything... Please try again.
<% end %>
diff --git a/app/views/crawlers/projects_crawler/show_basic.html.erb b/app/views/crawlers/projects_crawler/show_basic.html.erb
index 21e2bab..4b2b93f 100644
--- a/app/views/crawlers/projects_crawler/show_basic.html.erb
+++ b/app/views/crawlers/projects_crawler/show_basic.html.erb
@@ -1,20 +1,24 @@
Results for "<%= params[:search_term] %>"
- <% @projects.each_with_index do |project| %>
- -
- <%= link_to crawlers_projects_crawler_show_detail_url(:id => project['id'], :title => project['title']) do %>
+ <% if @projects %>
+ <% @projects.each_with_index do |project| %>
+
-
+ <%= link_to crawlers_projects_crawler_show_detail_url(:id => project['id'], :title => project['title']) do %>
<%= project['title'] %>
- <% end %>
-
+ <% end %>
+
<%= link_to crawlers_projects_crawler_add_to_fav_url(:id => project['id'], :title => project['title']) do %>
<%= show_svg('favorite-24px.svg') %>
<% end %>
-
+
+ <% end %>
+ <% else %>
+ Could not find anything... Please try again.
<% end %>
diff --git a/app/views/crawlers/theses_crawler/show_basic.html.erb b/app/views/crawlers/theses_crawler/show_basic.html.erb
index 02ba658..ec624db 100644
--- a/app/views/crawlers/theses_crawler/show_basic.html.erb
+++ b/app/views/crawlers/theses_crawler/show_basic.html.erb
@@ -1,20 +1,24 @@
Results for "<%= params[:search_term] %>"
- <% @theses.each_with_index do |thesis| %>
- -
- <%= link_to crawlers_theses_crawler_show_detail_url(:id => thesis['id'], :title => thesis['title']) do %>
+ <% if @theses %>
+ <% @theses.each_with_index do |thesis| %>
+
-
+ <%= link_to crawlers_theses_crawler_show_detail_url(:id => thesis['id'], :title => thesis['title']) do %>
<%= thesis['title'] %>
- <% end %>
-
+ <% end %>
+
<%= link_to crawlers_theses_crawler_add_to_fav_url(:id => thesis['id'], :title => thesis['title']) do %>
<%= show_svg('favorite-24px.svg') %>
<% end %>
-
+
+ <% end %>
+ <% else %>
+ Could not find anything... Please try again.
<% end %>