-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Genia Kazymova
committed
Jun 20, 2024
1 parent
144e7d5
commit 283b4a2
Showing
8 changed files
with
214 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.3.2 | ||
2.4.0 |
21 changes: 10 additions & 11 deletions
21
app/components/trln_argon/document/citation_component.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
<% if @document.citable? %> | ||
<div class="modal-header"> | ||
<h3 class="modal-title"><%= title %></h3> | ||
</div> | ||
<div class="modal-body"> | ||
<% @document.citations.each do |format, citation| %> | ||
<h4><%= t("trln_argon.citation.#{format}") %></h4> | ||
<%= citation %> | ||
<% end %> | ||
</div> | ||
<% end %> | ||
<div class="modal-header"> | ||
<h3 class="modal-title"><%= title %></h3> | ||
</div> | ||
<div class="modal-body"> | ||
<% @document.citations.each do |format, citation| %> | ||
<h4><%= t("trln_argon.citation.#{format}") %></h4> | ||
<%= citation.html_safe %> | ||
<% end %> | ||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.