|
|
|
|
@ -89,7 +89,7 @@
|
|
|
|
|
<div class="annot-header"> <h5> Annotations </h5> </div> |
|
|
|
|
<div class="" id="annotationsIndexView"> |
|
|
|
|
<%= render(partial: "/shared/annotations_pagination", locals: { annotations: annotations, opts: { current_page: 1 } }) %> |
|
|
|
|
<% annotations.each do |annotation| %> |
|
|
|
|
<% annotations.order(created_at: :desc).each do |annotation| %> |
|
|
|
|
<% document_title = annotation.document.short_title || annotation.document.title %> |
|
|
|
|
<% date_or_year = annotation.document.docdate.present? ? annotation.document.docdate.strftime("%B %d, %Y") : annotation.document.year %> |
|
|
|
|
<% annotated_documents_title = [] %> |
|
|
|
|
|