<commit_before><div class="umb-property-editor umb-listview" ng-controller="Umbraco.PropertyEditors.ListViewController" ng-switch="isNew">

   <div class="row-fluid" ng-switch-when="true">

   </div>

   <div class="row-fluid" ng-switch-when="false">
       
       <umb-editor-sub-header>

           <umb-editor-sub-header-content-left>

               <umb-editor-sub-header-section ng-if="(listViewAllowedTypes && listViewAllowedTypes.length > 0 && (selection.length == 0)) && (currentNodePermissions == null || currentNodePermissions.canCreate)">
                   <div class="btn-group" ng-show="listViewAllowedTypes.length > 1">
                       <a class="btn btn-success dropdown-toggle" ng-click="page.createDropdownOpen = !page.createDropdownOpen" ng-href="">
                           <localize key="actions_create">Create</localize>
                           <span class="caret"></span>
                       </a>
                       <umb-dropdown ng-if="page.createDropdownOpen" on-close="page.createDropdownOpen = false">
                            <umb-dropdown-item ng-repeat="contentType in listViewAllowedTypes track by contentType.key | orderBy:'name':false">
                                <a ng-href="#/{{entityType}}/{{entityType}}/edit/{{contentId}}?doctype={{contentType.alias}}&create=true">
                                    {{::contentType.name}}
                                </a>
                            </umb-dropdown-item>
                        </umb-dropdown>
                   </div>
                   <div class="btn-group" ng-show="listViewAllowedTypes.length === 1">
                       <a class="btn btn-success" ng-href="#/{{entityType}}/{{entityType}}/edit/{{contentId}}?doctype={{listViewAllowedTypes[0].alias}}&create=true">
                           <i class="icon-{{listViewAllowedTypes[0].cssClass}}"></i>
                           <localize key="actions_create">Create</localize> {{ listViewAllowedTypes[0].name }}
                       </a>
                   </div>
               </umb-editor-sub-header-section>

               <umb-editor-sub-header-section ng-show="(selection.length > 0)">
                   <umb-button
                       type="button"
                       label="Clear selection"
                       label-key="buttons_clearSelection"
                       action="clearSelection()"
                       disabled="actionInProgress">
                   </umb-button>
               </umb-editor-sub-header-section>

               <umb-editor-sub-header-section ng-show="(selection.length > 0)">
                   <strong ng-show="!actionInProgress">{{ selectedItemsCount() }} <localize key="general_of">of</localize> {{ listViewResultSet.items.length }} <localize key="general_selected">selected</localize></strong>
                   <strong ng-show="actionInProgress" ng-bind="bulkStatus"></strong>

                   <div class="umb-loader-wrapper -bottom" ng-show="actionInProgress">
                       <div class="umb-loader"></div>
                   </div>
               </umb-editor-sub-header-section>

           </umb-editor-sub-header-content-left>


           <umb-editor-sub-header-content-right>

               <umb-editor-sub-header-section ng-show="(selection.length == 0)">

                   <umb-layout-selector
                       ng-show="options.layout.layouts"
                       layouts="options.layout.layouts"
                       active-layout="options.layout.activeLayout"
                       on-layout-select="selectLayout(layout)">
                   </umb-layout-selector>

               </umb-editor-sub-header-section>

               <umb-editor-sub-header-section ng-show="(selection.length == 0)">
                   <ng-form class="form-search -no-margin-bottom pull-right" novalidate>
                       <div class="inner-addon left-addon">
                           <i class="icon icon-search" ng-click="enterSearch($event)"></i>
                           <input
                               class="form-control search-input"
                               type="text"
                               localize="placeholder"
                               placeholder="@general_typeToSearch"
                               ng-model="options.filter"
                               ng-change="enterSearch()"
                               ng-keydown="forceSearch($event)"
                               prevent-enter-submit
                               no-dirty-check>
                       </div>
                   </ng-form>
               </umb-editor-sub-header-section>

               <umb-editor-sub-header-section ng-show="(selection.length > 0)">

                   <umb-button
                       ng-if="options.allowBulkPublish && (buttonPermissions == null || buttonPermissions.canPublish)"
                       style="margin-right: 5px;"
                       type="button"
                       button-style="outline"
                       label-key="actions_publish"
                       icon="icon-globe"
                       action="publish()"
                       disabled="actionInProgress"
                       size="xs"
                       add-ellipsis="true">
                   </umb-button>

                   <umb-button
                       ng-if="options.allowBulkUnpublish && (buttonPermissions == null || buttonPermissions.canUnpublish)"
                       style="margin-right: 5px;"
                       type="button"
                       button-style="outline"
                       label-key="actions_unpublish"
                       icon="icon-block"
                       action="unpublish()"
                       disabled="actionInProgress"
                       size="xs">
                   </umb-button>

                   <umb-button
                       ng-if="options.allowBulkCopy && (buttonPermissions == null || buttonPermissions.canCopy)"
                       style="margin-right: 5px;"
                       type="button"
                       button-style="outline"
                       label-key="actions_copy"
                       icon="icon-documents"
                       action="copy()"
                       disabled="actionInProgress"
                       size="xs"
                       add-ellipsis="true">
                   </umb-button>

                   <umb-button
                       ng-if="options.allowBulkMove && (buttonPermissions == null || buttonPermissions.canMove)"
                       style="margin-right: 5px;"
                       type="button"
                       button-style="outline"
                       label-key="actions_move"
                       icon="icon-enter"
                       action="move()"
                       disabled="actionInProgress"
                       size="xs"
                       add-ellipsis="true">
                   </umb-button>

                   <umb-button
                       ng-if="options.allowBulkDelete && (buttonPermissions == null || buttonPermissions.canDelete)"
                       type="button"
                       button-style="outline"
                       label-key="actions_delete"
                       icon="icon-trash"
                       action="delete()"
                       disabled="actionInProgress"
                       size="xs"
                       add-ellipsis="true">
                   </umb-button>

               </umb-editor-sub-header-section>

           </umb-editor-sub-header-content-right>

       </umb-editor-sub-header>

       <umb-list-view-layout
         ng-if="viewLoaded"
         content-id="contentId"
         folders="folders"
         items="listViewResultSet.items"
         selection="selection"
         options="options"
         entity-type="{{entityType}}"
         on-get-content="getContent(contentId)">
      </umb-list-view-layout>

      <umb-load-indicator ng-show="!viewLoaded"></umb-load-indicator>

      <div class="flex justify-center">
          <umb-pagination
             ng-show="listViewResultSet.totalPages"
             page-number="options.pageNumber"
             total-pages="listViewResultSet.totalPages"
             on-next="next"
             on-prev="prev"
             on-go-to-page="goToPage">
          </umb-pagination>
      </div>

    </div>

    <umb-overlay
        ng-if="ysodOverlay.show"
        model="ysodOverlay"
        position="right"
        view="ysodOverlay.view">
    </umb-overlay>

</div>
<commit_msg>add ellipsis to unpublish button<commit_after><div class="umb-property-editor umb-listview" ng-controller="Umbraco.PropertyEditors.ListViewController" ng-switch="isNew">

   <div class="row-fluid" ng-switch-when="true">

   </div>

   <div class="row-fluid" ng-switch-when="false">
       
       <umb-editor-sub-header>

           <umb-editor-sub-header-content-left>

               <umb-editor-sub-header-section ng-if="(listViewAllowedTypes && listViewAllowedTypes.length > 0 && (selection.length == 0)) && (currentNodePermissions == null || currentNodePermissions.canCreate)">
                   <div class="btn-group" ng-show="listViewAllowedTypes.length > 1">
                       <a class="btn btn-success dropdown-toggle" ng-click="page.createDropdownOpen = !page.createDropdownOpen" ng-href="">
                           <localize key="actions_create">Create</localize>
                           <span class="caret"></span>
                       </a>
                       <umb-dropdown ng-if="page.createDropdownOpen" on-close="page.createDropdownOpen = false">
                            <umb-dropdown-item ng-repeat="contentType in listViewAllowedTypes track by contentType.key | orderBy:'name':false">
                                <a ng-href="#/{{entityType}}/{{entityType}}/edit/{{contentId}}?doctype={{contentType.alias}}&create=true">
                                    {{::contentType.name}}
                                </a>
                            </umb-dropdown-item>
                        </umb-dropdown>
                   </div>
                   <div class="btn-group" ng-show="listViewAllowedTypes.length === 1">
                       <a class="btn btn-success" ng-href="#/{{entityType}}/{{entityType}}/edit/{{contentId}}?doctype={{listViewAllowedTypes[0].alias}}&create=true">
                           <i class="icon-{{listViewAllowedTypes[0].cssClass}}"></i>
                           <localize key="actions_create">Create</localize> {{ listViewAllowedTypes[0].name }}
                       </a>
                   </div>
               </umb-editor-sub-header-section>

               <umb-editor-sub-header-section ng-show="(selection.length > 0)">
                   <umb-button
                       type="button"
                       label="Clear selection"
                       label-key="buttons_clearSelection"
                       action="clearSelection()"
                       disabled="actionInProgress">
                   </umb-button>
               </umb-editor-sub-header-section>

               <umb-editor-sub-header-section ng-show="(selection.length > 0)">
                   <strong ng-show="!actionInProgress">{{ selectedItemsCount() }} <localize key="general_of">of</localize> {{ listViewResultSet.items.length }} <localize key="general_selected">selected</localize></strong>
                   <strong ng-show="actionInProgress" ng-bind="bulkStatus"></strong>

                   <div class="umb-loader-wrapper -bottom" ng-show="actionInProgress">
                       <div class="umb-loader"></div>
                   </div>
               </umb-editor-sub-header-section>

           </umb-editor-sub-header-content-left>


           <umb-editor-sub-header-content-right>

               <umb-editor-sub-header-section ng-show="(selection.length == 0)">

                   <umb-layout-selector
                       ng-show="options.layout.layouts"
                       layouts="options.layout.layouts"
                       active-layout="options.layout.activeLayout"
                       on-layout-select="selectLayout(layout)">
                   </umb-layout-selector>

               </umb-editor-sub-header-section>

               <umb-editor-sub-header-section ng-show="(selection.length == 0)">
                   <ng-form class="form-search -no-margin-bottom pull-right" novalidate>
                       <div class="inner-addon left-addon">
                           <i class="icon icon-search" ng-click="enterSearch($event)"></i>
                           <input
                               class="form-control search-input"
                               type="text"
                               localize="placeholder"
                               placeholder="@general_typeToSearch"
                               ng-model="options.filter"
                               ng-change="enterSearch()"
                               ng-keydown="forceSearch($event)"
                               prevent-enter-submit
                               no-dirty-check>
                       </div>
                   </ng-form>
               </umb-editor-sub-header-section>

               <umb-editor-sub-header-section ng-show="(selection.length > 0)">

                   <umb-button
                       ng-if="options.allowBulkPublish && (buttonPermissions == null || buttonPermissions.canPublish)"
                       style="margin-right: 5px;"
                       type="button"
                       button-style="outline"
                       label-key="actions_publish"
                       icon="icon-globe"
                       action="publish()"
                       disabled="actionInProgress"
                       size="xs"
                       add-ellipsis="true">
                   </umb-button>

                   <umb-button
                       ng-if="options.allowBulkUnpublish && (buttonPermissions == null || buttonPermissions.canUnpublish)"
                       style="margin-right: 5px;"
                       type="button"
                       button-style="outline"
                       label-key="actions_unpublish"
                       icon="icon-block"
                       action="unpublish()"
                       disabled="actionInProgress"
                       size="xs"
                       add-ellipsis="true">
                   </umb-button>

                   <umb-button
                       ng-if="options.allowBulkCopy && (buttonPermissions == null || buttonPermissions.canCopy)"
                       style="margin-right: 5px;"
                       type="button"
                       button-style="outline"
                       label-key="actions_copy"
                       icon="icon-documents"
                       action="copy()"
                       disabled="actionInProgress"
                       size="xs"
                       add-ellipsis="true">
                   </umb-button>

                   <umb-button
                       ng-if="options.allowBulkMove && (buttonPermissions == null || buttonPermissions.canMove)"
                       style="margin-right: 5px;"
                       type="button"
                       button-style="outline"
                       label-key="actions_move"
                       icon="icon-enter"
                       action="move()"
                       disabled="actionInProgress"
                       size="xs"
                       add-ellipsis="true">
                   </umb-button>

                   <umb-button
                       ng-if="options.allowBulkDelete && (buttonPermissions == null || buttonPermissions.canDelete)"
                       type="button"
                       button-style="outline"
                       label-key="actions_delete"
                       icon="icon-trash"
                       action="delete()"
                       disabled="actionInProgress"
                       size="xs"
                       add-ellipsis="true">
                   </umb-button>

               </umb-editor-sub-header-section>

           </umb-editor-sub-header-content-right>

       </umb-editor-sub-header>

       <umb-list-view-layout
         ng-if="viewLoaded"
         content-id="contentId"
         folders="folders"
         items="listViewResultSet.items"
         selection="selection"
         options="options"
         entity-type="{{entityType}}"
         on-get-content="getContent(contentId)">
      </umb-list-view-layout>

      <umb-load-indicator ng-show="!viewLoaded"></umb-load-indicator>

      <div class="flex justify-center">
          <umb-pagination
             ng-show="listViewResultSet.totalPages"
             page-number="options.pageNumber"
             total-pages="listViewResultSet.totalPages"
             on-next="next"
             on-prev="prev"
             on-go-to-page="goToPage">
          </umb-pagination>
      </div>

    </div>

    <umb-overlay
        ng-if="ysodOverlay.show"
        model="ysodOverlay"
        position="right"
        view="ysodOverlay.view">
    </umb-overlay>

</div>

{'fraction_non_alphanumeric': 0.12473964360101829, 'fraction_numerical': 0.0018514232816477668, 'mean_word_length': 1.3133029978586723, 'pattern_counts': {'":': 0, '<': 181, '<?xml version=': 0, '>': 191, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7393924', 'n_tokens_mistral': 4379, 'n_tokens_neox': 4093, 'n_words': 533}