From bce58e7ea46209a0a511b436b99e1e197f42872d Mon Sep 17 00:00:00 2001 From: Tobias Eidelpes Date: Fri, 1 May 2020 11:45:43 +0200 Subject: [PATCH] Fix errors --- app/views/favorites/favorite_person/index.html.erb | 2 +- app/views/people_crawler/show_detail.html.erb | 2 -- app/views/tiss_crawler/search.html.erb | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/app/views/favorites/favorite_person/index.html.erb b/app/views/favorites/favorite_person/index.html.erb index 3e21932..d3e7f6e 100644 --- a/app/views/favorites/favorite_person/index.html.erb +++ b/app/views/favorites/favorite_person/index.html.erb @@ -1,4 +1,4 @@ -

Your favorite perople listed here ...

+

Your favorite people listed here ...

For now only the tiss_ids are stored and shown

<% @favoritePeople.each do |favPerson| %> diff --git a/app/views/people_crawler/show_detail.html.erb b/app/views/people_crawler/show_detail.html.erb index 4a04d58..f00a842 100644 --- a/app/views/people_crawler/show_detail.html.erb +++ b/app/views/people_crawler/show_detail.html.erb @@ -1,5 +1,3 @@ -Chosen person in detail view: - <% if @person != nil %> <% if @person['picture_uri'] != nil %> <%= image_tag @host + @person['picture_uri'] %> diff --git a/app/views/tiss_crawler/search.html.erb b/app/views/tiss_crawler/search.html.erb index 37ab496..bf3fcac 100644 --- a/app/views/tiss_crawler/search.html.erb +++ b/app/views/tiss_crawler/search.html.erb @@ -1,5 +1,5 @@

Search through @TU Vienna Database

-

Only People Search is working right now

+

Only people can be searched right now

<%= form_tag('/tiss_crawler/search', :method => "get") do %> <%= label_tag(:search_term, "Enter your search term") %>