summaryrefslogtreecommitdiff
path: root/app/views/content
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-23 20:45:22 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-23 20:45:22 +0200
commit87f3403dfcfa008070f69fe588e1e108c001fe27 (patch)
tree2a1af10cc692a72de21dc6c3108e2be5b0067e23 /app/views/content
parentf0745de7f661a27b4d20d2ba317d1b31bf9a6c4b (diff)
Restyle pdf headline cards
Diffstat (limited to 'app/views/content')
-rw-r--r--app/views/content/_headline_image.html.erb9
1 files changed, 6 insertions, 3 deletions
diff --git a/app/views/content/_headline_image.html.erb b/app/views/content/_headline_image.html.erb
index 4a3dfdc0..c05b17ef 100644
--- a/app/views/content/_headline_image.html.erb
+++ b/app/views/content/_headline_image.html.erb
@@ -6,8 +6,11 @@
6 <%= link_to @headline_asset.upload.url, :class => "headline_document_card", :target => "_blank", :rel => "noopener" do %> 6 <%= link_to @headline_asset.upload.url, :class => "headline_document_card", :target => "_blank", :rel => "noopener" do %>
7 <%= image_tag @headline_asset.upload.url(:medium), :alt => "", :class => "headline_document_card_thumb" %> 7 <%= image_tag @headline_asset.upload.url(:medium), :alt => "", :class => "headline_document_card_thumb" %>
8 <div class="headline_document_card_info"> 8 <div class="headline_document_card_info">
9 <%= icon("file-text", library: "tabler", "aria-hidden": true) %> 9 <div class="headline_document_card_titlerow">
10 <span class="headline_document_card_title"><%= @headline_asset.name %></span> 10 <%= icon("file-text", library: "tabler", "aria-hidden": true) %>
11 <span class="headline_document_card_title"><%= humanized_asset_name(@headline_asset) %></span>
12 </div>
13 <span class="headline_document_card_meta">PDF ยท <%= number_to_human_size(@headline_asset.upload.size) %></span>
11 </div> 14 </div>
12 <% end %> 15 <% end %>
13<% end %> 16<% end %>
@@ -50,7 +53,7 @@
50 <li> 53 <li>
51 <%= link_to pdf.upload.url, :class => "related_document_link", :target => "_blank", :rel => "noopener" do %> 54 <%= link_to pdf.upload.url, :class => "related_document_link", :target => "_blank", :rel => "noopener" do %>
52 <%= icon("file-text", library: "tabler", "aria-hidden": true) %> 55 <%= icon("file-text", library: "tabler", "aria-hidden": true) %>
53 <span><%= pdf.name %></span> 56 <span><%= humanized_asset_name(pdf) %></span>
54 <% end %> 57 <% end %>
55 </li> 58 </li>
56 <% end %> 59 <% end %>