From 75e85d3293de092903290c8c310123643cf1ea81 Mon Sep 17 00:00:00 2001 From: Nathaniel Catchpole <catch@35733.no-reply.drupal.org> Date: Thu, 31 Oct 2013 11:47:39 +0000 Subject: [PATCH] Issue #2121199 by swentel | Bojhan: Fixed Use empty table pattern in Configuration Management UI. --- core/modules/config/lib/Drupal/config/Form/ConfigSync.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/modules/config/lib/Drupal/config/Form/ConfigSync.php b/core/modules/config/lib/Drupal/config/Form/ConfigSync.php index 99a403e60392..5654d45f14df 100644 --- a/core/modules/config/lib/Drupal/config/Form/ConfigSync.php +++ b/core/modules/config/lib/Drupal/config/Form/ConfigSync.php @@ -140,7 +140,10 @@ public function buildForm(array $form, array &$form_state) { $config_comparer = new StorageComparer($this->sourceStorage, $this->targetStorage); if (empty($source_list) || !$config_comparer->createChangelist()->hasChanges()) { $form['no_changes'] = array( - '#markup' => $this->t('There are no configuration changes.'), + '#theme' => 'table', + '#header' => array('Name', 'Operations'), + '#rows' => array(), + '#empty' => $this->t('There are no configuration changes.'), ); $form['actions']['#access'] = FALSE; return $form; -- GitLab