<commit_before><div ng-controller="Umbraco.Overlays.PublishDescendantsController as vm">

    <div ng-if="vm.variants.length === 1">
        <div style="margin-bottom: 15px;">
            <p><localize key="{{vm.labels.help.key}}" tokens="vm.labels.help.tokens"></localize></p>
        </div>

        <div style="margin-bottom: 15px;">
            <label>
                <input type="checkbox"
                       ng-model="model.includeUnpublished"
                       style="margin-right: 8px;" />
                <localize key="content_includeUnpublished"></localize>
            </label>
        </div>

    </div>

    <div ng-if="vm.variants.length > 1">

        <div style="margin-bottom: 15px;">
            <p><localize key="content_publishDescendantsWithVariantsHelp"></localize></p>
        </div>

        <div style="margin-bottom: 15px;" class="flex">

            <umb-checkbox
                input-id="includeUnpublishedSelector"
                model="model.includeUnpublished" />

            <label for="includeUnpublishedSelector">
                <localize key="content_includeUnpublished"></localize>
            </label>
        </div>

        <div class="bold" style="margin-bottom: 5px;">
            <localize key="treeHeaders_languages"></localize>
        </div>

        <div class="umb-list umb-list--condensed">

            <div class="umb-list-item umb-list--condensed"
                 ng-repeat="variant in vm.variants">
                <ng-form name="publishVariantSelectorForm"><commit_msg>Add umb-checkbox for publish unpublished content items with no… (#6485)<commit_after><div ng-controller="Umbraco.Overlays.PublishDescendantsController as vm">

    <div ng-if="vm.variants.length === 1">
        <div class="mb3">
            <p><localize key="{{vm.labels.help.key}}" tokens="vm.labels.help.tokens"></localize></p>
        </div>

        <div class="flex mb3">

            <umb-checkbox input-id="includeUnpublishedSelector" model="model.includeUnpublished" />

            <label for="includeUnpublishedSelector">
                <localize key="content_includeUnpublished"></localize>
            </label>
        </div>

    </div>

    <div ng-if="vm.variants.length > 1">

        <div class="mb3">
            <p><localize key="content_publishDescendantsWithVariantsHelp"></localize></p>
        </div>

        <div class="flex mb3">

            <umb-checkbox input-id="includeUnpublishedSelector" model="model.includeUnpublished" />

            <label for="includeUnpublishedSelector">
                <localize key="content_includeUnpublished"></localize>
            </label>
        </div>

        <div class="bold mb1">
            <localize key="treeHeaders_languages"></localize>
        </div>

        <div class="umb-list umb-list--condensed">

            <div class="umb-list-item umb-list--condensed" ng-repeat="variant in vm.variants">
                <ng-form name="publishVariantSelectorForm">
{'fraction_non_alphanumeric': 0.148721399730821, 'fraction_numerical': 0.007738896366083445, 'mean_word_length': 2.2598684210526314, 'pattern_counts': {'":': 0, '<': 77, '<?xml version=': 0, '>': 79, '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': '7592482', 'n_tokens_mistral': 884, 'n_tokens_neox': 814, 'n_words': 139}