<commit_before>{% if args.page and args.edit %}

<ul class="apos-admin-bar-item apos-accordion-menu">
  <li class="apos-accordion-title"><i class="icon-doc"></i>{{ __('Page') }}</li>
  <li class="apos-accordion-items">
    <ul class="apos-page-bar">
      <li data-slug="{{ args.page.slug | e }}" href="#" class="apos-control apos-accordion-item apos-button apos-new-page" data-new-page>{{ __('New Page') }}</li>
      <li data-slug="{{ args.page.slug | e }}" href="#" class="apos-control apos-accordion-item apos-button apos-edit-page" data-edit-page>{{ __('Page Settings') }}</li>
      <li data-slug="{{ args.page.slug | e }}" href="#" class="apos-control apos-accordion-item apos-button apos-versions-page" data-versions-page>{{ __('Page Versions') }}</li>
      <li data-slug="{{ args.page.slug | e }}" href="#" class="apos-control apos-accordion-item apos-button apos-delete-page" data-delete-page>{{ __('Move to Trash') }}</li>
      {# TODO appearance should be conditional on sitewide admin rights? #}
      <li data-slug="{{ args.page.slug | e }}" href="#" class="apos-control apos-accordion-item apos-button apos-reorganize-page" data-reorganize-page>{{ __('Reorganize') }}</li>
    </ul>
  </li>
</ul>

{% endif %}

<commit_msg>Adding an argument option to give a special class to pages menu and to remove the text from button<commit_after>{% if args.page and args.edit %}

<ul class="apos-admin-bar-item apos-accordion-menu {% if args.bottom %}apos-pages-menu{% endif %}">
  <li class="apos-accordion-title"><i class="icon-doc"></i>{% if not args.bottom %}{{ __('Page') }}{% endif %}</li>
  <li class="apos-accordion-items">
    <ul class="apos-page-bar">
      <li data-slug="{{ args.page.slug | e }}" href="#" class="apos-control apos-accordion-item apos-button apos-new-page" data-new-page>{{ __('New Page') }}</li>
      <li data-slug="{{ args.page.slug | e }}" href="#" class="apos-control apos-accordion-item apos-button apos-edit-page" data-edit-page>{{ __('Page Settings') }}</li>
      <li data-slug="{{ args.page.slug | e }}" href="#" class="apos-control apos-accordion-item apos-button apos-versions-page" data-versions-page>{{ __('Page Versions') }}</li>
      <li data-slug="{{ args.page.slug | e }}" href="#" class="apos-control apos-accordion-item apos-button apos-delete-page" data-delete-page>{{ __('Move to Trash') }}</li>
      {# TODO appearance should be conditional on sitewide admin rights? #}
      <li data-slug="{{ args.page.slug | e }}" href="#" class="apos-control apos-accordion-item apos-button apos-reorganize-page" data-reorganize-page>{{ __('Reorganize') }}</li>
    </ul>
  </li>
</ul>

{% endif %}


{'fraction_non_alphanumeric': 0.21382697393275407, 'fraction_numerical': 0.0, 'mean_word_length': 4.102119460500964, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 43, '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': '6847273', 'n_tokens_mistral': 950, 'n_tokens_neox': 943, 'n_words': 216}