summaryrefslogtreecommitdiff
path: root/app/views/nodes/show.html.erb
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-21 22:25:08 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-21 22:25:08 +0200
commit987c8224c7f1bafb84d5e284ff0093921b92f1a0 (patch)
tree4de2569131a8dd1cfce765227384ae38bcef8d23 /app/views/nodes/show.html.erb
parenta2e4a1a5d3e73504e78461e0e39a3d24815b76d4 (diff)
Widen nodes#show to all attachments
Diffstat (limited to 'app/views/nodes/show.html.erb')
-rw-r--r--app/views/nodes/show.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/nodes/show.html.erb b/app/views/nodes/show.html.erb
index f2b4b154..adf79dd8 100644
--- a/app/views/nodes/show.html.erb
+++ b/app/views/nodes/show.html.erb
@@ -253,12 +253,12 @@
253 <% end %> 253 <% end %>
254 </div> 254 </div>
255 255
256 <% if @page.assets.images.any? %> 256 <% if @page.assets.any? %>
257 <% headline_asset_id = @page.headline_asset&.id %> 257 <% headline_asset_id = @page.headline_asset&.id %>
258 <div class="node_description">Images</div> 258 <div class="node_description">Images</div>
259 <div class="node_content node_info_group"> 259 <div class="node_content node_info_group">
260 <ul class="thumbnail_list"> 260 <ul class="thumbnail_list">
261 <% @page.assets.images.each do |asset| %> 261 <% @page.assets.each do |asset| %>
262 <li class="<%= "is_headline" if asset.id == headline_asset_id %>"> 262 <li class="<%= "is_headline" if asset.id == headline_asset_id %>">
263 <%= link_to image_tag(asset.upload.url(:thumb)), asset_path(asset) %> 263 <%= link_to image_tag(asset.upload.url(:thumb)), asset_path(asset) %>
264 <% if asset.id == headline_asset_id %> 264 <% if asset.id == headline_asset_id %>