From beb108c35855963a7b7df6bcd8098df529218f5d Mon Sep 17 00:00:00 2001
From: Arnaud Levy <contact@arnaudlevy.com>
Date: Fri, 7 Jul 2023 14:59:05 +0200
Subject: [PATCH] fix

---
 .../research/hal/publications/static.html.erb      | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/app/views/admin/research/hal/publications/static.html.erb b/app/views/admin/research/hal/publications/static.html.erb
index 467338859..e40b213db 100644
--- a/app/views/admin/research/hal/publications/static.html.erb
+++ b/app/views/admin/research/hal/publications/static.html.erb
@@ -12,11 +12,15 @@ authors: >-
   <%= @about.authors.ordered.join(', ') %>
 ref: >-
   <%= sanitize @about.ref %>
-url:
-  hal: "<%= @about.hal_url %>"
-  doi: "<%= @about.doi_url %>"
-  raw: "<%= @about.url %>"
-  file: "<%= @about.file %>"
+links:
+  - label: "HAL"
+    url: "<%= @about.hal_url %>"
+  - label: "DOI"
+    url: "<%= @about.doi_url %>"
+  - label: "URL"
+    url: "<%= @about.url %>"
+  - label: "PDF"
+    url: "<%= @about.file %>"
 researchers:
 <% @about.researchers.in_university(@website.university).each do |researcher| %>
   - <%= researcher.slug %>
-- 
GitLab