Skip to content
Snippets Groups Projects
Commit 4909640e authored by Arnaud Levy's avatar Arnaud Levy
Browse files

Fix [skip ci]

parent 45f8a93d
No related branches found
No related tags found
No related merge requests found
......@@ -76,12 +76,10 @@ class Research::Hal::Author < ApplicationRecord
def connect_researcher(researcher)
researchers << researcher
researcher.import_research_hal_publications!
end
def disconnect_researcher(researcher)
researchers.delete researcher
researcher.import_research_hal_publications!
end
def to_s
......
......@@ -45,7 +45,10 @@
<% end %>
<%= osuny_panel Research::Hal::Publication.model_name.human(count: 2) do %>
<p><%= "#{@researcher.hal_publications.count} #{Research::Hal::Publication.model_name.human(count: @researcher.hal_publications.count).downcase}" %>
<p>
<%= "#{@researcher.hal_publications.count} #{Research::Hal::Publication.model_name.human(count: @researcher.hal_publications.count).downcase}" %>.
Les publications sont mises à jour automatiquement, chaque nuit.
</p>
<div class="table-responsive">
<%= render 'admin/research/hal/publications/list', publications: @researcher.hal_publications.ordered %>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment