|
|
|
|
@ -148,10 +148,6 @@
|
|
|
|
|
<% doctrine.annotations.order(rank: :asc).each do |annotation| %> |
|
|
|
|
<div class="row"> |
|
|
|
|
<div class="col-sm-10"> |
|
|
|
|
<% document_title = annotation.doctrine.document.short_title || annotation.doctrine.document.title %> |
|
|
|
|
<% date_or_year = annotation.doctrine.document.docdate.present? ? annotation.doctrine.document.docdate.to_date.strftime("%B %d, %Y") : annotation.document.year %> |
|
|
|
|
<span> <%= [document_title, annotation.document.reference_number, date_or_year].join(", ") %> </span> |
|
|
|
|
|
|
|
|
|
<p class="pb-0 ms-3"> |
|
|
|
|
<strong> <%= "#{annotation.annomarks.map { |annomark| "(#{annomark.code})" }.join(" ")}" %> </strong> |
|
|
|
|
<% document_title = annotation.document.short_title || annotation.document.title %> |
|
|
|
|
|