app/views/admin/communication/websites/agenda/events/show.html.erb
<% content_for :title, @l10n %>
<div class="row">
<div class="col-lg-7">
<%= osuny_panel Communication::Website::Agenda::Event::Localization.human_attribute_name(:title), small: true do %>
<p class="lead"><%= @l10n.title %></p>
<% if @l10n.subtitle.present? %>
<p class="mt-n3 text-muted"><%= @l10n.subtitle %></p>
<% end %>
<p><%= render 'admin/communication/websites/agenda/events/dates', event: @event, l10n: @l10n, detailed: true %></p>
<% end %>
</div>
<div class="offset-lg-1 col-lg-4">
<%= render 'admin/application/featured_image/show', about: @l10n, small: true %>
</div>
</div>
<hr class="mb-5">
<%= render 'admin/application/a11y/widget', about: @l10n, horizontal: true %>
<hr class="mb-5">
<div class="row">
<div class="col-lg-4">
<%= render 'admin/communication/websites/agenda/events/show/metadata' %>
</div>
<div class="col-lg-8">
<%= render 'admin/application/summary/show', about: @l10n, small: true %>
<%= render 'admin/application/meta_description/show', about: @l10n %>
</div>
</div>
<%= render 'admin/communication/contents/editor', about: @l10n %>
<% content_for :action_bar_left do %>
<%= destroy_link @event %>
<%= duplicate_link @event %>
<%= static_link static_admin_communication_website_agenda_event_path(@event) %>
<% end %>
<% content_for :action_bar_right do %>
<% event_url = @l10n.current_permalink_url_in_website(@website) %>
<%= link_to t('open'),
event_url,
target: :_blank,
class: 'btn btn-light btn-xs' if event_url %>
<%= edit_link @event %>
<%= publish_link @event %>
<% end %>