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

Data #925

parent e5027e15
No related branches found
No related tags found
No related merge requests found
......@@ -11,9 +11,15 @@
<article class="position-relative mt-5">
<div>
<i class="bi bi-file-earmark-text display-1"></i>
<span>PDF - 120ko</span>
<% if document.file.attached? %>
<% file = document.file %>
<span>
<%= file.filename.extension.upcase %> -
<%= number_to_human_size file.byte_size %>
</span>
<% end %>
</div>
<p>
<p class="mb-3">
<b><%= document %></b><br>
<span class="text-muted"><%= l document.published_at.to_date %><span>
</p>
......
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