<% if (toolbar.draft) { %> <%= t('actions.draft.toPost') %> <%= t('actions.draft.toPostInfo') %> <% } else if (toolbar.metadata) { %> <% if (toolbar.metadata.published === false) { %> <%= t('actions.publishing.unpublished') %> <% // This case is a UX backwards-compatibility measure; Some users may expect to see an affirmation here %> <% } else if (toolbar.metadata.published === true) { %> <%= t('actions.publishing.published') %> <% } else { %> <%= t('actions.publishing.unpublish') %> <% } %> <% } %> <% if (toolbar.markdown) { %>
<% } %>