<commit_before><div class="umb-dialog umb-pane" ng-controller="Umbraco.Editors.MediaTypes.DeleteController">
    <div class="umb-dialog-body">

        <p class="abstract">
            <localize key="defaultdialogs_confirmdelete">Are you sure you want to delete</localize>&nbsp;<strong>{{currentNode.name}}</strong>?
        </p>

        <ng-switch on="currentNode.nodeType">
            <div ng-switch-when="container">
                <umb-confirm
                    on-confirm="performContainerDelete"
                    on-cancel="cancel">
                </umb-confirm>
            </div>

            <div ng-switch-default>
                <p>
                	<i class="icon-alert red"></i>
                    <strong class="red">
                        <localize key="contentTypeEditor_allMediaItems">All media items</localize>
                    </strong>
                    <localize key="contentTypeEditor_usingThisMedia">using this media type will be deleted permanently, please confirm you want to delete these as well.</localize>
                </p>

                <hr />

                <umb-checkbox model="confirmed" text="{{labels.deleteConfirm}}">
                </umb-checkbox>

                <umb-confirm ng-if="confirmed" on-confirm="performDelete" on-cancel="cancel" confirm-button-style="danger">
                </umb-confirm>
            </div>
        </ng-switch>


    </div>
</div><commit_msg>Changed delete button style on media type folder delete to danger style (#7393)<commit_after><div class="umb-dialog umb-pane" ng-controller="Umbraco.Editors.MediaTypes.DeleteController">
    <div class="umb-dialog-body">

        <p class="abstract">
            <localize key="defaultdialogs_confirmdelete">Are you sure you want to delete</localize>&nbsp;<strong>{{currentNode.name}}</strong>?
        </p>

        <ng-switch on="currentNode.nodeType">
            <div ng-switch-when="container">
                <umb-confirm
                    on-confirm="performContainerDelete"
                    on-cancel="cancel" confirm-button-style="danger">
                </umb-confirm>
            </div>

            <div ng-switch-default>
                <p>
                	<i class="icon-alert red"></i>
                    <strong class="red">
                        <localize key="contentTypeEditor_allMediaItems">All media items</localize>
                    </strong>
                    <localize key="contentTypeEditor_usingThisMedia">using this media type will be deleted permanently, please confirm you want to delete these as well.</localize>
                </p>

                <hr />

                <umb-checkbox model="confirmed" text="{{labels.deleteConfirm}}">
                </umb-checkbox>

                <umb-confirm ng-if="confirmed" on-confirm="performDelete" on-cancel="cancel" confirm-button-style="danger">
                </umb-confirm>
            </div>
        </ng-switch>


    </div>
</div>
{'fraction_non_alphanumeric': 0.1285329744279946, 'fraction_numerical': 0.0013458950201884253, 'mean_word_length': 1.8422562141491396, 'pattern_counts': {'":': 0, '<': 69, '<?xml version=': 0, '>': 69, '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': '3433215', 'n_tokens_mistral': 801, 'n_tokens_neox': 735, 'n_words': 158}