diff --git a/app/views/admin/communication/blocks/templates/files/_preview.html.erb b/app/views/admin/communication/blocks/templates/files/_preview.html.erb
index 54f32745652572c91bccae0cb1f3a9c0493b7812..71babf1330e454429ff6e415b3dd88ec13029b12 100644
--- a/app/views/admin/communication/blocks/templates/files/_preview.html.erb
+++ b/app/views/admin/communication/blocks/templates/files/_preview.html.erb
@@ -27,10 +27,14 @@ end
           <li>
           <figure>
               <a href="<%= element.blob.url %>" target="_blank" title="<%= element.title %>"><%= element.title %></a>
-              <figcaption>
-                <abbr title="">TODO : EXTENSION</abbr>
-                - <abbr title="">TODO : TAILLE FICHIER</abbr>
-              </figcaption>
+              <% if document.file.attached? %>
+                <% file = document.file %>
+                <figcaption>
+                  <abbr title=""><%= file.filename.extension.upcase %></abbr>
+                  - <abbr title=""><%= number_to_human_size file.byte_size %></abbr>
+                </figcaption>
+              <% end %>
+
             </figure>
             </a>
           </li>
diff --git a/app/views/extranet/library/documents/index.html.erb b/app/views/extranet/library/documents/index.html.erb
index e8436387199288f26f3b92c8bad2e0597b582343..20f6d68db4546efcad41d00773a8f5c57585497a 100644
--- a/app/views/extranet/library/documents/index.html.erb
+++ b/app/views/extranet/library/documents/index.html.erb
@@ -13,10 +13,10 @@
               <i class="bi bi-file-earmark-text display-1"></i>
               <% if document.file.attached? %>
                 <% file = document.file %>
-              <span>
-                <%= file.filename.extension.upcase %> - 
-                <%= number_to_human_size file.byte_size %>
-              </span>
+                <span>
+                  <%= file.filename.extension.upcase %>
+                  - <%= number_to_human_size file.byte_size %>
+                </span>
               <% end %>
             </div>
             <p class="mb-3">