<commit_before><div ng-controller="Umbraco.Editors.DataType.RelationsController as vm">

    <umb-load-indicator ng-if="vm.view.loading === true"></umb-load-indicator>

    <umb-box ng-if="vm.view.loading === false && vm.hasRelations === false">
        <umb-box-header title-key="relations_tabName"></umb-box-header>
        <umb-box-content>
            <umb-empty-state size="small">
                <localize key="relations_DataTypenoRelations">This Data Type has no relations.</localize>
            </umb-empty-state>
        </umb-box-content>
    </umb-box>


    <div ng-if="vm.view.loading === false && vm.hasRelations === true">

        <!-- Document Types -->

        <h5 class="mt4" style="margin-bottom: 20px;">
            <localize key="relations_labelUsedByDocumentTypes"></localize>
        </h5>

        <div class="umb-table" ng-if="vm.view.loading === false && vm.hasRelations === true">
            
            <umb-empty-state size="small" ng-if="vm.relations.documentTypes.length < 1">
                <localize key="relations_noDocumentTypes">No relations for Document Types.</localize>
            </umb-empty-state>

            <div ng-if="vm.relations.documentTypes.length > 0">
                <div class="umb-table-head">
                    <div class="umb-table-row">
                        <div class="umb-table-cell"></div>
                        <div class="umb-table-cell umb-table__name not-fixed"><localize key="general_name">Name</localize></div>
                        <div class="umb-table-cell"><localize key="content_alias">Alias</localize></div>
                        <div class="umb-table-cell"></div>
                    </div>
                </div>
                <div class="umb-table-body">
                    <div class="umb-table-row" ng-repeat="relation in vm.relations.documentTypes">
                        <div class="umb-table-cell"><i class="umb-table-body__icon {{relation.icon}}"></i></div>
                        <div class="umb-table-cell umb-table__name">{{relation.name}}</div>
                        <div class="umb-table-cell">{{relation.alias}}</div>
                        <div class="umb-table-cell" style="width:32px"><a href="#/settings/documentTypes/edit/{{relation.id}}"><localize key="general_open">Open</localize></a></div>
                    </div>
                </div>
            </div>
        </div>


        <!-- Media Types -->

        <h5 class="mt4" style="margin-bottom: 20px;">
            <localize key="relations_labelUsedByMediaTypes"></localize>
        </h5>

        <div class="umb-table" ng-if="vm.view.loading === false && vm.hasRelations === true">
            
            <umb-empty-state size="small" ng-if="vm.relations.mediaTypes.length < 1">
                <localize key="relations_noMediaTypes">No relations for Media Types.</localize>
            </umb-empty-state>

            <div ng-if="vm.relations.mediaTypes.length > 0">
                <div class="umb-table-head" ng-if="vm.relations.mediaTypes.length > 0">
                    <div class="umb-table-row">
                        <div class="umb-table-cell"></div>
                        <div class="umb-table-cell umb-table__name not-fixed"><localize key="general_name">Name</localize></div>
                        <div class="umb-table-cell"><localize key="content_alias">Alias</localize></div>
                        <div class="umb-table-cell"></div>
                    </div>
                </div>
                <div class="umb-table-body">
                    <div class="umb-table-row" ng-repeat="relation in vm.relations.mediaTypes">
                        <div class="umb-table-cell"><i class="umb-table-body__icon {{relation.icon}}"></i></div>
                        <div class="umb-table-cell umb-table__name">{{relation.name}}</div>
                        <div class="umb-table-cell">{{relation.alias}}</div>
                        <div class="umb-table-cell" style="width:32px"><a href="#/settings/mediaTypes/edit/{{relation.id}}"><localize key="general_open">Open</localize></a></div>
                    </div>
                </div>

            </div>
        </div>


        <!-- Member Types -->

        <h5 class="mt4" style="margin-bottom: 20px;">
            <localize key="relations_labelUsedByMemberTypes"></localize>
        </h5>

        <div class="umb-table" ng-if="vm.view.loading === false && vm.hasRelations === true">

            <umb-empty-state size="small" ng-if="vm.relations.memberTypes.length < 1">
                <localize key="relations_noMemberTypes">No relations for Member Types.</localize>
            </umb-empty-state>

            <div ng-if="vm.relations.memberTypes.length > 0">
                <div class="umb-table-head" ng-if="vm.relations.memberTypes.length > 0">
                    <div class="umb-table-row">
                        <div class="umb-table-cell"></div>
                        <div class="umb-table-cell umb-table__name not-fixed"><localize key="general_name">Name</localize></div>
                        <div class="umb-table-cell"><localize key="content_alias">Alias</localize></div>
                        <div class="umb-table-cell"></div>
                    </div>
                </div>
                <div class="umb-table-body">
                    <div class="umb-table-row" ng-repeat="relation in vm.relations.memberTypes">
                        <div class="umb-table-cell"><i class="umb-table-body__icon {{relation.icon}}"></i></div>
                        <div class="umb-table-cell umb-table__name">{{relation.name}}</div>
                        <div class="umb-table-cell">{{relation.alias}}</div>
                        <div class="umb-table-cell" style="width:32px"><a href="#/settings/memberTypes/edit/{{relation.id}}"><localize key="general_open">Open</localize></a></div>
                    </div>
                </div>

            </div>
        </div>



    </div>


</div><commit_msg>auto width for actions<commit_after><div ng-controller="Umbraco.Editors.DataType.RelationsController as vm">

    <umb-load-indicator ng-if="vm.view.loading === true"></umb-load-indicator>

    <umb-box ng-if="vm.view.loading === false && vm.hasRelations === false">
        <umb-box-header title-key="relations_tabName"></umb-box-header>
        <umb-box-content>
            <umb-empty-state size="small">
                <localize key="relations_DataTypenoRelations">This Data Type has no relations.</localize>
            </umb-empty-state>
        </umb-box-content>
    </umb-box>


    <div ng-if="vm.view.loading === false && vm.hasRelations === true">

        <!-- Document Types -->

        <div ng-if="vm.relations.documentTypes.length > 0">

            <h5 class="mt4" style="margin-bottom: 20px;">
                <localize key="relations_labelUsedByDocumentTypes"></localize>
            </h5>

            <div class="umb-table">
                <div class="umb-table-head">
                    <div class="umb-table-row">
                        <div class="umb-table-cell"></div>
                        <div class="umb-table-cell umb-table__name not-fixed"><localize key="general_name">Name</localize></div>
                        <div class="umb-table-cell"><localize key="content_alias">Alias</localize></div>
                        <div class="umb-table-cell umb-table-cell--auto-width"></div>
                    </div>
                </div>
                <div class="umb-table-body">
                    <div class="umb-table-row" ng-repeat="relation in vm.relations.documentTypes">
                        <div class="umb-table-cell"><i class="umb-table-body__icon {{relation.icon}}"></i></div>
                        <div class="umb-table-cell umb-table__name">{{relation.name}}</div>
                        <div class="umb-table-cell">{{relation.alias}}</div>
                        <div class="umb-table-cell umb-table-cell--auto-width"><a href="#/settings/documentTypes/edit/{{relation.id}}"><localize key="general_open">Open</localize></a></div>
                    </div>
                </div>
            </div>
        </div>


        <!-- Media Types -->
        <div ng-if="vm.relations.mediaTypes.length > 0">

            <h5 class="mt4" style="margin-bottom: 20px;">
                <localize key="relations_labelUsedByMediaTypes"></localize>
            </h5>

            <div class="umb-table">
                <div class="umb-table-head" ng-if="vm.relations.mediaTypes.length > 0">
                    <div class="umb-table-row">
                        <div class="umb-table-cell"></div>
                        <div class="umb-table-cell umb-table__name not-fixed"><localize key="general_name">Name</localize></div>
                        <div class="umb-table-cell"><localize key="content_alias">Alias</localize></div>
                        <div class="umb-table-cell umb-table-cell--auto-width"></div>
                    </div>
                </div>
                <div class="umb-table-body">
                    <div class="umb-table-row" ng-repeat="relation in vm.relations.mediaTypes">
                        <div class="umb-table-cell"><i class="umb-table-body__icon {{relation.icon}}"></i></div>
                        <div class="umb-table-cell umb-table__name">{{relation.name}}</div>
                        <div class="umb-table-cell">{{relation.alias}}</div>
                        <div class="umb-table-cell umb-table-cell--auto-width"><a href="#/settings/mediaTypes/edit/{{relation.id}}"><localize key="general_open">Open</localize></a></div>
                    </div>
                </div>
            </div>
        </div>


        <!-- Member Types -->
        <div ng-if="vm.relations.memberTypes.length > 0">

            <h5 class="mt4" style="margin-bottom: 20px;">
                <localize key="relations_labelUsedByMemberTypes"></localize>
            </h5>

            <div class="umb-table">
                <div class="umb-table-head">
                    <div class="umb-table-row">
                        <div class="umb-table-cell"></div>
                        <div class="umb-table-cell umb-table__name not-fixed"><localize key="general_name">Name</localize></div>
                        <div class="umb-table-cell"><localize key="content_alias">Alias</localize></div>
                        <div class="umb-table-cell umb-table-cell--auto-width"></div>
                    </div>
                </div>
                <div class="umb-table-body">
                    <div class="umb-table-row" ng-repeat="relation in vm.relations.memberTypes">
                        <div class="umb-table-cell"><i class="umb-table-body__icon {{relation.icon}}"></i></div>
                        <div class="umb-table-cell umb-table__name">{{relation.name}}</div>
                        <div class="umb-table-cell">{{relation.alias}}</div>
                        <div class="umb-table-cell umb-table-cell--auto-width"><a href="#/settings/memberTypes/edit/{{relation.id}}"><localize key="general_open">Open</localize></a></div>
                    </div>
                </div>
            </div>

        </div>


    </div>


</div>
{'fraction_non_alphanumeric': 0.17079693349973257, 'fraction_numerical': 0.004278837582456766, 'mean_word_length': 1.8181361466968098, 'pattern_counts': {'":': 0, '<': 308, '<?xml version=': 0, '>': 314, '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': '6101214', 'n_tokens_mistral': 3306, 'n_tokens_neox': 3051, 'n_words': 466}