diff --git a/app/views/crawlers/theses_crawler/show_detail.html.erb b/app/views/crawlers/theses_crawler/show_detail.html.erb index 6725ab5..24f1a83 100644 --- a/app/views/crawlers/theses_crawler/show_detail.html.erb +++ b/app/views/crawlers/theses_crawler/show_detail.html.erb @@ -2,4 +2,12 @@

<%= @thesis['title']['de'] %>

<%= @thesis['thesisType'] %>, <%= @thesis['instituteCode'] %> <%= @thesis['instituteName']['de'] %>
<%= button_to 'Add to favorites', action: :add_to_fav, id: @id, title: @thesis['title']['de'] %> + <% if @thesis['advisor'] != nil %> +

Advisor

+

<%= @thesis['advisor']['familyName'] %> <%= @thesis['advisor']['givenName'] %>

+ <% end %> + <% if @thesis['assistant'] != nil %> +

Assistant

+

<%= @thesis['assistant']['familyName'] %> <%= @thesis['assistant']['givenName'] %>

+ <% end %> <% end %>