diff --git a/core/modules/node/lib/Drupal/node/NodeFormController.php b/core/modules/node/lib/Drupal/node/NodeFormController.php index 4fe33cb..6ef5315 100644 --- a/core/modules/node/lib/Drupal/node/NodeFormController.php +++ b/core/modules/node/lib/Drupal/node/NodeFormController.php @@ -230,7 +230,7 @@ public function form(array $form, array &$form_state, EntityInterface $node) { $form['options'] = array( '#type' => 'fieldset', '#access' => user_access('administer nodes'), - '#title' => t('Promotion options'), + '#title' => t('Publishing options'), '#collapsible' => TRUE, '#collapsed' => TRUE, '#group' => 'additional_settings', diff --git a/core/modules/node/node.js b/core/modules/node/node.js index 5bf1cc0..7d5688c 100644 --- a/core/modules/node/node.js +++ b/core/modules/node/node.js @@ -38,15 +38,14 @@ Drupal.behaviors.nodeFieldsetSummaries = { var $context = $(context); var vals = []; - if ($context.find('input').is(':checked')) { - $context.find('input:checked').parent().each(function () { - vals.push(Drupal.checkPlain($.trim($(this).text()))); - }); - return vals.join(', '); - } - else { - return Drupal.t('Not promoted'); + $context.find('input:checked').parent().each(function () { + vals.push(Drupal.checkPlain($.trim($(this).text()))); + }); + + if (!$context.find('.form-item-status input').is(':checked')) { + vals.unshift(Drupal.t('Not published')); } + return vals.join(', '); }); $context.find('fieldset.node-translation-options').drupalSetSummary(function (context) {