Skip to content

Commit

Permalink
Fix #2090 (#2091)
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudlevy committed Jul 11, 2024
1 parent 2936d91 commit a42b56a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/views/admin/research/publications/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
</div>
<div class="col-lg-4">
<%= osuny_panel Research::Publication.human_attribute_name('authors_list') do %>
<p><%= @publication.authors_list %></p>
<p><%= sanitize @publication.authors_list %></p>
<% end %>
<%= osuny_panel University::Person::Researcher.model_name.human(count: 2) do %>
<% @publication.researchers.in_university(current_university).each do |researcher| %>
Expand Down Expand Up @@ -76,7 +76,7 @@
</div>
<% end %>
</div>
<% end %>
<% end if @publication.hal? %>
<% content_for :action_bar_left do %>
<%= destroy_link @publication if @publication.editable? %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/admin/research/publications/static.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ Citations::FORMATS.each do |format|
format: "<%= format %>"
content: >-
<%= prepare_html_for_static citation %>
<% end %>
<% end if @publication.hal? %>
---

0 comments on commit a42b56a

Please sign in to comment.