2025-02-11 13:15:43 +01:00
|
|
|
|
<article class="event card" vocab="https://schema.org/" typeof="Event Review">
|
2024-10-16 15:40:53 +02:00
|
|
|
|
<h1 property="name"><%= @heading %></h1>
|
2024-09-06 22:41:12 +02:00
|
|
|
|
|
2024-10-03 22:52:40 +02:00
|
|
|
|
<ul>
|
2024-10-16 15:40:53 +02:00
|
|
|
|
<li property="description"><%= @lead %></li>
|
|
|
|
|
|
<li class="sr-only">
|
|
|
|
|
|
<span property="startDate"><%= @started_at %></span>–<span property="endDate"><%= @ended_at %></span>
|
|
|
|
|
|
</li>
|
2024-10-03 22:52:40 +02:00
|
|
|
|
<%= if opening_acts?(%{"bands" => @bands, "category" => @category}) do %>
|
2024-10-16 15:40:53 +02:00
|
|
|
|
<li>
|
|
|
|
|
|
Huvudakt:
|
|
|
|
|
|
<span property="performer">
|
|
|
|
|
|
<%= @bands |> List.first() |> Map.get("artists_id") |> Map.get("name") %>
|
|
|
|
|
|
</span>
|
|
|
|
|
|
</li>
|
|
|
|
|
|
<li>Förband: <%= @bands |> Enum.drop(1) |> rdfa_bandlist() |> raw %></li>
|
2024-10-03 22:52:40 +02:00
|
|
|
|
<% end %>
|
|
|
|
|
|
<%= if hilights?(%{"bands" => @bands, "category" => @category}) do %>
|
2024-10-16 15:40:53 +02:00
|
|
|
|
<li>Personliga höjdpunkter: <%= @bands |> rdfa_bandlist() |> raw %></li>
|
2024-10-03 22:52:40 +02:00
|
|
|
|
<% end %>
|
|
|
|
|
|
<%= if missed?(%{"mia" => @mia, "category" => @category}) do %>
|
|
|
|
|
|
<li>Band jag missade: <%= @mia |> bandlist() %></li>
|
|
|
|
|
|
<% end %>
|
|
|
|
|
|
</ul>
|
2024-09-06 22:41:12 +02:00
|
|
|
|
|
2024-10-16 15:40:53 +02:00
|
|
|
|
<div property="reviewBody">
|
|
|
|
|
|
<%= raw(@contents) %>
|
|
|
|
|
|
</div>
|
2024-10-03 22:52:40 +02:00
|
|
|
|
|
|
|
|
|
|
<%= if @poster do %>
|
2024-10-16 15:40:53 +02:00
|
|
|
|
<img
|
|
|
|
|
|
property="image"
|
|
|
|
|
|
src={"https://n.madr.se/assets/" <> @poster <> "?key=poster"}
|
|
|
|
|
|
alt="affisch"
|
|
|
|
|
|
loading="lazy"
|
|
|
|
|
|
/>
|
2024-10-03 22:52:40 +02:00
|
|
|
|
<% end %>
|
2024-09-06 22:41:12 +02:00
|
|
|
|
</article>
|