<commit_before><div class="alert alert-error" ng-hide="isAuthenticated()">
    Du bist nicht eingeloggt! <a ui-sref="login">Login</a>
</div>

<div ng-show="isAuthenticated()">
    <div ng-hide="detailCtrl.isFetched()">
        Lade Zitate...
    </div>

    <div ng-show="detailCtrl.isFetched()">
        <h1>
            {{detailCtrl.getPerson().name}}
            <small ng-show="detailCtrl.getPerson().id">
                <span class="sic-person-actions">
                    <a ng-click="detailCtrl.new()"
                       title="Neues Zitat" class="glyphicon glyphicon-plus"></a>
                </span>
            </small>
        </h1>

        <div class="container-fluid">
            <div ng-repeat="quote in detailCtrl.getQuotes()" uib-tooltip-template="'/partials/detail-tooltip.html'"
                 tooltip-is-open="!!quote.editing || !!quote.hovering" tooltip-trigger="none"
                 ng-mouseenter="quote.hovering = true" ng-mouseleave="quote.hovering = false">

                <blockquote class="sic-quote" ng-class-even="'blockquote-reverse'">
                    <p>
                        <span ng-hide="!!quote.editing">{{quote.text}}</span>
                        <textarea ng-show="!!quote.editing" ng-model="quote.text"
                                  placeholder="Zitat eingeben..."></textarea>
                    </p>
                    <footer>
                        {{detailCtrl.getPerson().name}},
                        <span ng-hide="!!quote.editing">
                            {{quote.subText}}
                        </span>
                        <input type="text" ng-show="!!quote.editing"
                               ng-model="quote.subText" placeholder="Subtext">
                        <abbr title="Summe der Up/Downvotes f&uuml;r dieses Zitat">

                        </abbr>
                        &bull;
                        <div class="btn-group" ng-hide="!!quote.editing">
                            <button class="btn btn-primary btn-xs" title="+1 f&uuml;r dieses Zitat"
                                    ng-class="{'active': detailCtrl.isUpVote(quote)}"
                                    ng-click="detailCtrl.setVote(quote, 1)">
                                +
                            </button>
                            <button class="btn btn-default btn-xs" disabled>
                                {{detailCtrl.getFriendlyVoteCount(quote)}}
                            </button>
                            <button class="btn btn-danger btn-xs" title="-1 f&uuml;r dieses Zitat"
                                    ng-class="{'active': detailCtrl.isDownVote(quote)}"
                                    ng-click="detailCtrl.setVote(quote, -1)">
                                -
                            </button>
                        </div>
                        <div class="btn-group" ng-hide="!!quote.editing">
                            <button class="btn btn-warning btn-xs" title="Zitat bearbeiten"
                                    ng-click="detailCtrl.edit(quote)">
                                <span class="glyphicon glyphicon-pencil"></span>
                            </button>
                            <!--suppress HtmlUnknownTarget -->
                            <a class="btn btn-xs btn-info" title="Zitat drucken..."
                            ng-href="/secure/print/quote/by/id/{{quote.id}}">
                                <span class="glyphicon glyphicon-print"></span>
                            </a>
                        </div>
                        <div class="btn-group" ng-show="!!quote.editing">
                            <button class="btn btn-primary btn-xs"
                                    title="&Auml;nderungen speichern"
                                    ng-click="detailCtrl.save(quote)">
                                <span class="glyphicon glyphicon-ok"></span>
                            </button>
                            <button class="btn btn-xs btn-warning"
                                    title="&Auml;nderungen verwerfen"
                                    ng-click="detailCtrl.unedit(quote)">
                                <span class="glyphicon glyphicon-remove"></span>
                            </button>
                            <button class="btn btn-xs btn-danger"
                                    title="Zitat endg&uuml;ltig l&ouml;schen (!)"
                                    ng-click="detailCtrl.delete(quote)">
                                <span class="glyphicon glyphicon-trash"></span>
                            </button>
                        </div>
                    </footer>
                </blockquote>
            </div>
        </div>
    </div> <!-- /isFetched() -->
</div> <!-- /isAuthenticated() --><commit_msg>Open print view in new tab<commit_after><div class="alert alert-error" ng-hide="isAuthenticated()">
    Du bist nicht eingeloggt! <a ui-sref="login">Login</a>
</div>

<div ng-show="isAuthenticated()">
    <div ng-hide="detailCtrl.isFetched()">
        Lade Zitate...
    </div>

    <div ng-show="detailCtrl.isFetched()">
        <h1>
            {{detailCtrl.getPerson().name}}
            <small ng-show="detailCtrl.getPerson().id">
                <span class="sic-person-actions">
                    <a ng-click="detailCtrl.new()"
                       title="Neues Zitat" class="glyphicon glyphicon-plus"></a>
                </span>
            </small>
        </h1>

        <div class="container-fluid">
            <div ng-repeat="quote in detailCtrl.getQuotes()" uib-tooltip-template="'/partials/detail-tooltip.html'"
                 tooltip-is-open="!!quote.editing || !!quote.hovering" tooltip-trigger="none"
                 ng-mouseenter="quote.hovering = true" ng-mouseleave="quote.hovering = false">

                <blockquote class="sic-quote" ng-class-even="'blockquote-reverse'">
                    <p>
                        <span ng-hide="!!quote.editing">{{quote.text}}</span>
                        <textarea ng-show="!!quote.editing" ng-model="quote.text"
                                  placeholder="Zitat eingeben..."></textarea>
                    </p>
                    <footer>
                        {{detailCtrl.getPerson().name}},
                        <span ng-hide="!!quote.editing">
                            {{quote.subText}}
                        </span>
                        <input type="text" ng-show="!!quote.editing"
                               ng-model="quote.subText" placeholder="Subtext">
                        <abbr title="Summe der Up/Downvotes f&uuml;r dieses Zitat">

                        </abbr>
                        &bull;
                        <div class="btn-group" ng-hide="!!quote.editing">
                            <button class="btn btn-primary btn-xs" title="+1 f&uuml;r dieses Zitat"
                                    ng-class="{'active': detailCtrl.isUpVote(quote)}"
                                    ng-click="detailCtrl.setVote(quote, 1)">
                                +
                            </button>
                            <button class="btn btn-default btn-xs" disabled>
                                {{detailCtrl.getFriendlyVoteCount(quote)}}
                            </button>
                            <button class="btn btn-danger btn-xs" title="-1 f&uuml;r dieses Zitat"
                                    ng-class="{'active': detailCtrl.isDownVote(quote)}"
                                    ng-click="detailCtrl.setVote(quote, -1)">
                                -
                            </button>
                        </div>
                        <div class="btn-group" ng-hide="!!quote.editing">
                            <button class="btn btn-warning btn-xs" title="Zitat bearbeiten"
                                    ng-click="detailCtrl.edit(quote)">
                                <span class="glyphicon glyphicon-pencil"></span>
                            </button>
                            <!--suppress HtmlUnknownTarget -->
                            <a class="btn btn-xs btn-info" title="Zitat drucken..."
                            ng-href="/secure/print/quote/by/id/{{quote.id}}" target="_blank">
                                <span class="glyphicon glyphicon-print"></span>
                            </a>
                        </div>
                        <div class="btn-group" ng-show="!!quote.editing">
                            <button class="btn btn-primary btn-xs"
                                    title="&Auml;nderungen speichern"
                                    ng-click="detailCtrl.save(quote)">
                                <span class="glyphicon glyphicon-ok"></span>
                            </button>
                            <button class="btn btn-xs btn-warning"
                                    title="&Auml;nderungen verwerfen"
                                    ng-click="detailCtrl.unedit(quote)">
                                <span class="glyphicon glyphicon-remove"></span>
                            </button>
                            <button class="btn btn-xs btn-danger"
                                    title="Zitat endg&uuml;ltig l&ouml;schen (!)"
                                    ng-click="detailCtrl.delete(quote)">
                                <span class="glyphicon glyphicon-trash"></span>
                            </button>
                        </div>
                    </footer>
                </blockquote>
            </div>
        </div>
    </div> <!-- /isFetched() -->
</div> <!-- /isAuthenticated() -->
{'fraction_non_alphanumeric': 0.13242103097026442, 'fraction_numerical': 0.001234694927461673, 'mean_word_length': 1.0836012861736335, 'pattern_counts': {'":': 0, '<': 147, '<?xml version=': 0, '>': 147, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 24, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3829664', 'n_tokens_mistral': 2524, 'n_tokens_neox': 2363, 'n_words': 390}