add render_personal_annotations to all favorite classes

This commit is contained in:
Pfingstfrosch 2020-06-04 22:17:38 +02:00
parent 74cc3dce22
commit 9881e7962d
5 changed files with 6 additions and 3 deletions

View File

@ -14,5 +14,5 @@
<%= raw @course['objective']['de'] %>
<% end %>
<%= render :partial => "crawlers/personal_annotations" %>
<%= render_personal_annotations @course['courseNumber'], @personal_annotation %>
<% end %>

View File

@ -12,5 +12,6 @@
<% end %>
<% end %>
<%= render :partial => "crawlers/personal_annotations" %>
<%= render_personal_annotations @id, @personal_annotation %>
<% end %>

View File

@ -11,5 +11,5 @@
<p><%= @thesis['assistant']['familyName'] %> <%= @thesis['assistant']['givenName'] %></p>
<% end %>
<%= render :partial => "crawlers/personal_annotations" %>
<%= render_personal_annotations @id, @personal_annotation %>
<% end %>

View File

@ -25,6 +25,7 @@
<%= button_to 'Delete', {:action => "delete_project", :id => project['id']}, :method => 'delete' %>
</div>
</td>
<td></td>
</tr>
<% end %>
</table>

View File

@ -26,6 +26,7 @@
<%= button_to 'Delete', {:action => "delete_thesis", :id => thesis['id']}, :method => 'delete' %>
</div>
</td>
<td></td>
</tr>
<% end %>
</table>