From 1a47368fe1cbc00821649155786528946ee06d47 Mon Sep 17 00:00:00 2001
From: Arnaud Levy <contact@arnaudlevy.com>
Date: Sat, 7 Dec 2024 08:43:43 +0100
Subject: [PATCH] fix

---
 app/views/showcase/websites/show.html.erb | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/app/views/showcase/websites/show.html.erb b/app/views/showcase/websites/show.html.erb
index fc640df27..43bca7493 100644
--- a/app/views/showcase/websites/show.html.erb
+++ b/app/views/showcase/websites/show.html.erb
@@ -21,16 +21,22 @@
       <%= contact_link @website.repository_url, :github %>
     </div>
     <div class="mb-5">
+      <p class="small text-muted">Thèmes</p>
       <% @website.showcase_tags.each do |tag| %>
         <%= link_to tag, 
                     showcase_tag_path(tag.slug), 
                     class: 'btn btn-sm btn-outline-light text-dark rounded-pill' %>
       <% end %>
     </div>
-    <% if @website.university.logo.attached? %>
-      <%= image_tag @website.university.logo, 
-                    width: 200,
-                    class: 'img-fluid p-3' %>
-    <% end %>
+    <div class="mb-5">
+      <p class="small text-muted">Organisation</p>
+      <% if @website.university.logo.attached? %>
+        <%= image_tag @website.university.logo, 
+                      width: 200,
+                      class: 'img-fluid p-3' %>
+      <% else %>
+        <p><%= @website.university %></p>
+      <% end %>
+    </div>
   </div>
 </div>
\ No newline at end of file
-- 
GitLab