<commit_before><tal:block content="resource_library:zeit.addcentral" />

<div
  tal:define="panel_id string:zeit.addcentral;
  panel_handlers nocall:context/@@panel_handlers"
  tal:attributes="
  class python:panel_handlers.css_class(panel_id);
  id panel_id"
  i18n:domain="zeit.cms">

  <h1>
    <a href="javascript:void(null)"
      i18n:translate="">
      Add
    </a>
  </h1>

  <div class="PanelContent" id="zeit.addcentral.panelcontent">
  </div>
  <script type="text/javascript">
    var form = new zeit.cms.SubPageForm(application_url + '/@@addcentral',
                             $('zeit.addcentral.panelcontent'));
    MochiKit.Signal.connect(form, 'after-reload', function() {
        zeit.cms.configure_ressort_dropdown();
    });
  </script>
</div>
<commit_msg>tell sidebar to resize panels when the panel loads (re #5937)<commit_after><tal:block content="resource_library:zeit.addcentral" />

<div
  tal:define="panel_id string:zeit.addcentral;
  panel_handlers nocall:context/@@panel_handlers"
  tal:attributes="
  class python:panel_handlers.css_class(panel_id);
  id panel_id"
  i18n:domain="zeit.cms">

  <h1>
    <a href="javascript:void(null)"
      i18n:translate="">
      Add
    </a>
  </h1>

  <div class="PanelContent" id="zeit.addcentral.panelcontent">
  </div>
  <script type="text/javascript">
    var form = new zeit.cms.SubPageForm(application_url + '/@@addcentral',
                             $('zeit.addcentral.panelcontent'));
    MochiKit.Signal.connect(form, 'after-reload', function() {
        zeit.cms.configure_ressort_dropdown();
        MochiKit.Signal.signal('sidebar', 'panel-content-changed');
    });
  </script>
</div>

{'fraction_non_alphanumeric': 0.15610047846889952, 'fraction_numerical': 0.009569377990430622, 'mean_word_length': 3.7663817663817665, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5807270', 'n_tokens_mistral': 592, 'n_tokens_neox': 555, 'n_words': 88}