From 75c648fabff0845e869569183bee6d23b0501c0e Mon Sep 17 00:00:00 2001
From: Arnaud Levy <contact@arnaudlevy.com>
Date: Mon, 16 May 2022 14:25:58 +0200
Subject: [PATCH] ects for diplomas

---
 app/views/admin/education/diplomas/_list.html.erb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/app/views/admin/education/diplomas/_list.html.erb b/app/views/admin/education/diplomas/_list.html.erb
index e7adc544e..dd55353b3 100644
--- a/app/views/admin/education/diplomas/_list.html.erb
+++ b/app/views/admin/education/diplomas/_list.html.erb
@@ -3,6 +3,7 @@
     <tr>
       <th><%= Education::Diploma.human_attribute_name('name') %></th>
       <th><%= Education::Diploma.human_attribute_name('short_name') %></th>
+      <th><%= Education::Diploma.human_attribute_name('ects') %></th>
       <th><%= Education::Diploma.human_attribute_name('level') %></th>
       <th><%= Education::Diploma.human_attribute_name('programs') %></th>
       <th></th>
@@ -13,6 +14,7 @@
       <tr>
         <td><%= link_to diploma, [:admin, diploma] %></td>
         <td><%= diploma.short_name %></td>
+        <td><%= diploma.ects %></td>
         <td><%= diploma.level_i18n %></td>
         <td><%= diploma.programs.count %></td>
         <td class="text-end">
-- 
GitLab