<commit_before><div id="subnav" class="subnav subnav--authoring" ng-class="{'auth-sendto': views.send}" sd-media-query min-width="900">

    <div class="dropdown dropdown--dropright lock-avatar pull-left" ng-show="isLocked()" dropdown>
        <figure class="avatar small avatar-with-info" dropdown__toggle>
            <div class="logged-info"></div>
            <div class="user-image">
                <img sd-user-avatar data-user="item.lock_user">
            </div>
        </figure>

        <div class="dropdown__menu">
            <div class="dropdown__menu-label" translate>Locked by</div>
            <figure class="avatar large">
                <div class="user-image">
                    <img sd-user-avatar data-user="item.lock_user">
                </div>
            </figure>
            <div class="lock-text">{{ item.lock_user | username }}</div>
            <button class="btn btn--medium"
                    ng-show="can_unlock()"
                    ng-click="unlock()"
                    ng-disabled="unlockClicked"
                    sd-hotkey="ctrl+shift+u"
                    sd-hotkey-options="{global: true}"
                    translate>
                Unlock
            </button>
        </div>
    </div>

    <div class="subnav__authoring-topbar" ng-class="{'enable-overflow': item.highlights || item._type === 'archived'}">
        <span ng-if="item._type === 'archived'" class="stage" ng-style="{'overflow': 'visible'}" tooltip="{{:: 'Archived from' | translate}} {{deskName}} / {{ stage.name}}" tooltip-placement="bottom" ng-show="stage"><b>{{:: 'Archived from' | translate}} {{deskName}}</b> / {{ stage.name }}</span>
        <span ng-if="item._type !== 'archived'" class="stage" tooltip="{{deskName}} / {{ stage.name }}" tooltip-placement="bottom" ng-show="stage" ng-if="item._type !== 'legal_archive'"><b>{{deskName}}</b> / {{ stage.name }}</span>
        <span class="stage" tooltip="{{deskName}} / {{ stage }}" tooltip-placement="bottom" ng-show="stage" ng-if="item._type === 'legal_archive'"><b>{{deskName}}</b> / {{ stage }}</span>
        <span sd-marked-item-title data-item="item" data-field="highlights"></span>
        <span sd-marked-item-title data-item="item" data-field="marked_desks"></span>
        <span sd-assignment-icon data-item="item"/>
        <span class="label label--warning" ng-show="item._type !== 'archived' && stage.local_readonly"
          translate>Read-only</span>
    </div>

    <div class="subnav__stretch-bar" ng-if="showCustomButtons(item)">
      <div class="subnav__button-stack subnav__button-stack--custom-buttons" ng-if="$root.config.features.customAuthoringTopbar" ng-show="_editable && itemActions.save && action === 'edit'">
        <button class="btn btn--custom"
                ng-click="saveAndContinue(sendToNextStage, false)"
                title="{{ :: 'To Desk' | translate }}">
                <span class="btn__text" translate>To Desk</span>
                <span class="btn__text--short" translate>T D</span>
        </button>
        <button class="btn btn--custom btn--publish"
                type="submit"
                ng-if="canPublishOnDesk()"
                ng-click="saveAndContinue(publish, true)"
                title="{{ :: 'Publish' | translate }}">
                <span class="btn__text" translate>Publish</span>
                <span class="btn__text--short" translate>P</span>
        </button>
        <button class="btn btn--custom btn--publish-plus"
                ng-if="canPublishOnDesk()"
                ng-click="saveAndContinue(publishAndContinue, true)"
                title="{{ :: 'Publish and Continue' | translate }}">
                <span class="btn__text">{{ :: 'Publish and Continue' | translate }}</span>
                <span class="btn__text--short">{{ :: 'P & C' | translate }}</span>
        </button><commit_msg>As a user i don t have a use for the td button in the editor toolbar SDANSA-265 (#2958)<commit_after><div id="subnav" class="subnav subnav--authoring" ng-class="{'auth-sendto': views.send}" sd-media-query min-width="900">

    <div class="dropdown dropdown--dropright lock-avatar pull-left" ng-show="isLocked()" dropdown>
        <figure class="avatar small avatar-with-info" dropdown__toggle>
            <div class="logged-info"></div>
            <div class="user-image">
                <img sd-user-avatar data-user="item.lock_user">
            </div>
        </figure>

        <div class="dropdown__menu">
            <div class="dropdown__menu-label" translate>Locked by</div>
            <figure class="avatar large">
                <div class="user-image">
                    <img sd-user-avatar data-user="item.lock_user">
                </div>
            </figure>
            <div class="lock-text">{{ item.lock_user | username }}</div>
            <button class="btn btn--medium"
                    ng-show="can_unlock()"
                    ng-click="unlock()"
                    ng-disabled="unlockClicked"
                    sd-hotkey="ctrl+shift+u"
                    sd-hotkey-options="{global: true}"
                    translate>
                Unlock
            </button>
        </div>
    </div>

    <div class="subnav__authoring-topbar" ng-class="{'enable-overflow': item.highlights || item._type === 'archived'}">
        <span ng-if="item._type === 'archived'" class="stage" ng-style="{'overflow': 'visible'}" tooltip="{{:: 'Archived from' | translate}} {{deskName}} / {{ stage.name}}" tooltip-placement="bottom" ng-show="stage"><b>{{:: 'Archived from' | translate}} {{deskName}}</b> / {{ stage.name }}</span>
        <span ng-if="item._type !== 'archived'" class="stage" tooltip="{{deskName}} / {{ stage.name }}" tooltip-placement="bottom" ng-show="stage" ng-if="item._type !== 'legal_archive'"><b>{{deskName}}</b> / {{ stage.name }}</span>
        <span class="stage" tooltip="{{deskName}} / {{ stage }}" tooltip-placement="bottom" ng-show="stage" ng-if="item._type === 'legal_archive'"><b>{{deskName}}</b> / {{ stage }}</span>
        <span sd-marked-item-title data-item="item" data-field="highlights"></span>
        <span sd-marked-item-title data-item="item" data-field="marked_desks"></span>
        <span sd-assignment-icon data-item="item"/>
        <span class="label label--warning" ng-show="item._type !== 'archived' && stage.local_readonly"
          translate>Read-only</span>
    </div>

    <div class="subnav__stretch-bar" ng-if="showCustomButtons(item)">
      <div
        class="subnav__button-stack subnav__button-stack--custom-buttons"
        ng-if="$root.config.features.customAuthoringTopbar != null && ($root.config.features.customAuthoringTopbar.toDesk === true || $root.config.features.customAuthoringTopbar.publish === true || $root.config.features.customAuthoringTopbar.publishAndContinue == true)"
        ng-show="_editable && itemActions.save && action === 'edit'"
      >
        <button
                ng-if="$root.config.features.customAuthoringTopbar.toDesk === true"
                class="btn btn--custom"
                ng-click="saveAndContinue(sendToNextStage, false)"
                title="{{ :: 'To Desk' | translate }}">
                <span class="btn__text" translate>To Desk</span>
                <span class="btn__text--short" translate>T D</span>
        </button>
        <button
                ng-if="$root.config.features.customAuthoringTopbar.publish === true"
                class="btn btn--custom btn--publish"
                type="submit"
                ng-if="canPublishOnDesk()"
                ng-click="saveAndContinue(publish, true)"
                title="{{ :: 'Publish' | translate }}">
                <span class="btn__text" translate>Publish</span>
                <span class="btn__text--short" translate>P</span>
        </button>
        <button
                ng-if="$root.config.features.customAuthoringTopbar.publishAndContinue === true"
                class="btn btn--custom btn--publish-plus"
                ng-if="canPublishOnDesk()"
                ng-click="saveAndContinue(publishAndContinue, true)"
                title="{{ :: 'Publish and Continue' | translate }}">
                <span class="btn__text">{{ :: 'Publish and Continue' | translate }}</span>
                <span class="btn__text--short">{{ :: 'P & C' | translate }}</span>
        </button>
{'fraction_non_alphanumeric': 0.176020102907742, 'fraction_numerical': 0.0015555821467033624, 'mean_word_length': 2.41840490797546, 'pattern_counts': {'":': 0, '<': 131, '<?xml version=': 0, '>': 131, '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': '6640940', 'n_tokens_mistral': 2510, 'n_tokens_neox': 2377, 'n_words': 438}