app/views/admin/communication/websites/posts/show/_metadata.html.erb
<%= osuny_panel t('metadata'), small: true do %>
<p>
<% if @l10n.published %>
<%= t('admin.communication.website.post.localizations.published_on', date: l(@l10n.published_at.to_date)) %>
<%= t('admin.communication.website.post.localizations.and_pinned') if @l10n.pinned %>
<% else %>
<%= t('admin.communication.website.post.localizations.draft') %>
<% end %>
<%= t('admin.communication.website.posts.by', author: @post.author.to_s_in(@l10n.language)) if @post.author %>
<% if @post.categories.any? %>
<%
categories = @post.categories
category_names = categories.collect { |category| category.to_s_in(@l10n.language) }
%>
<%= t('admin.communication.website.posts.in', categories: category_names.join(', ')) %>
<% end %>
</p>
<%= render 'admin/application/permalinks/redirects', about: @l10n %>
<% end %>
<%= render 'admin/application/l10n/widget', about: @post, l10n: @l10n, small: true %>