diff --git a/app/views/crawlers/courses_crawler/show_detail.html.erb b/app/views/crawlers/courses_crawler/show_detail.html.erb index 1b5efb8..a92e666 100644 --- a/app/views/crawlers/courses_crawler/show_detail.html.erb +++ b/app/views/crawlers/courses_crawler/show_detail.html.erb @@ -14,5 +14,5 @@ <%= raw @course['objective']['de'] %> <% end %> - <%= render :partial => "crawlers/personal_annotations" %> + <%= render_personal_annotations @course['courseNumber'], @personal_annotation %> <% end %> diff --git a/app/views/crawlers/projects_crawler/show_detail.html.erb b/app/views/crawlers/projects_crawler/show_detail.html.erb index 74d6674..915c0a2 100644 --- a/app/views/crawlers/projects_crawler/show_detail.html.erb +++ b/app/views/crawlers/projects_crawler/show_detail.html.erb @@ -12,5 +12,6 @@ <% end %> <% end %> - <%= render :partial => "crawlers/personal_annotations" %> + <%= render_personal_annotations @id, @personal_annotation %> + <% end %> diff --git a/app/views/crawlers/theses_crawler/show_detail.html.erb b/app/views/crawlers/theses_crawler/show_detail.html.erb index 6880bf2..17a7486 100644 --- a/app/views/crawlers/theses_crawler/show_detail.html.erb +++ b/app/views/crawlers/theses_crawler/show_detail.html.erb @@ -11,5 +11,5 @@
<%= @thesis['assistant']['familyName'] %> <%= @thesis['assistant']['givenName'] %>
<% end %> - <%= render :partial => "crawlers/personal_annotations" %> + <%= render_personal_annotations @id, @personal_annotation %> <% end %> diff --git a/app/views/favorites/projects.html.erb b/app/views/favorites/projects.html.erb index 0af93e5..d458f9a 100644 --- a/app/views/favorites/projects.html.erb +++ b/app/views/favorites/projects.html.erb @@ -25,6 +25,7 @@ <%= button_to 'Delete', {:action => "delete_project", :id => project['id']}, :method => 'delete' %> +