Skip to content

Commit

Permalink
Add citation description to public index
Browse files Browse the repository at this point in the history
  • Loading branch information
gbp committed Oct 8, 2024
1 parent 27ba748 commit 53c2235
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/assets/stylesheets/responsive/_citations.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,9 @@ ul.citations-list {
.citation__title {
flex-basis: 50%;
}

.citation__description {
flex-basis: 50%;
}
}
}
4 changes: 4 additions & 0 deletions app/views/citations/_citation.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,8 @@
date: simple_date(citation.citable.created_at)) %>
<% end %>
</div>

<div class="citation__description">
<%= citation.description %>
</div>
</li>

0 comments on commit 53c2235

Please sign in to comment.