<%# blue: internal, yellow: draft & timed %> <%= zt kb_top_bar_tag(object) %> <%= zt 'This page is invisible to the public.' if !object.visible? %> <% if object.kind_of?(CanBePublished) && object.published_at.present? && object.published_at > Time.current %> <%= zt 'Will be published on' %> <%= time_tag object.published_at %> <% end %>
<%= link_to zt(edit_kb_link_label(object)), build_kb_link(object), class: 'topbar-btn', target: :_blank %>