= content_for :title, t('.title', title: @resource.title) = content_for :actionbar do %ul.list-group.list-group-horizontal.mb-1 %li.list-group-item - if @resource.archived? %button.btn.btn-light.disabled{ data: { tooltip: true, click_open: 'false' }, title: 'Archived pages cannot be viewed' } = icon('bi bi-eye') = t('integral.actions.view_on_site') - else = link_to t('integral.actions.view_on_site'), @resource.path, class: 'btn btn-light', icon: 'bi bi-eye' - if policy(Integral::Version).manager? %li.list-group-item = link_to t('integral.navigation.activity'), activities_backend_resource_url(@resource), class: 'btn btn-light', icon: 'bi bi-clock-history' = render 'form'