<commit_before>doctype html

div.wrapper.issues.lightbox-generic-form(
    tg-issues-ordering
    tg-issues-pagination
    ng-controller="IssuesController as ctrl"
    ng-init="section='issues'"
)
    tg-project-menu

    section.main.issue-main
        .issue-top
            header.issue-header
                include ../includes/components/mainTitle
                .taskboard-actions
                    .issue-table-options-start
                        button.btn-filter.e2e-open-filter(
                            ng-click="ctrl.openFilter = !ctrl.openFilter"
                            title="{{ctrl.selectedFilters.length}} {{'COMMON.FILTERS.APPLIED_FILTERS_NUM' | translate}}"
                            ng-class="{active: ctrl.openFilter}"
                        )
                            tg-svg(svg-icon="icon-filters")
                            span.text(
                                ng-if="!ctrl.openFilter"
                                translate="BACKLOG.FILTERS.TITLE"
                            )
                            span.text(
                                ng-if="ctrl.openFilter"
                                translate="BACKLOG.FILTERS.HIDE_TITLE"
                            )
                            span.selected-filters(ng-if="ctrl.selectedFilters.length") {{ctrl.selectedFilters.length}}

                        tg-input-search(
                            q="ctrl.filterQ"
                            change="ctrl.changeQ(q)"
                        )

                        .display-tags-button#show-tags
                            .check.js-check(
                                ng-class="{'active': ctrl.showTags}"
                            )
                                input(
                                    type="checkbox"
                                    id="show-tags-input"
                                    ng-checked="ctrl.showTags"
                                    ng-model="ctrl.showTags"
                                )
                                div
                            label(
                                for="show-tags-input"
                                translate="BACKLOG.TAGS.SHOW"
                            )

                    .new-issue
                        button(
                            ng-class="{'btn-small': !ctrl.sprintIssues, 'btn-board': ctrl.sprintIssues}"
                            type="button"
                            variant="primary"
                            ng-click="ctrl.addNewIssue('standard', null)"
                        )
                            tg-svg(ng-if="ctrl.sprintIssues", svg-icon="icon-add")
                            span(ng-if="!ctrl.sprintIssues") {{"ISSUES.ACTION_NEW_ISSUE" | translate}}

                        button(
                            ng-class="{'btn-icon': !ctrl.sprintIssues, 'btn-board': ctrl.sprintIssues}"
                            type="button"
                            variant="secondary"
                            ng-click="ctrl.addIssuesInBulk()"
                        )
                            tg-svg(svg-icon="icon-bulk")
        .issue-container
            sidebar.filters-bar(<commit_msg>fix(issues) Anonymous user can add issues (#2093)<commit_after>doctype html

div.wrapper.issues.lightbox-generic-form(
    tg-issues-ordering
    tg-issues-pagination
    ng-controller="IssuesController as ctrl"
    ng-init="section='issues'"
)
    tg-project-menu

    section.main.issue-main
        .issue-top
            header.issue-header
                include ../includes/components/mainTitle
                .taskboard-actions
                    .issue-table-options-start
                        button.btn-filter.e2e-open-filter(
                            ng-click="ctrl.openFilter = !ctrl.openFilter"
                            title="{{ctrl.selectedFilters.length}} {{'COMMON.FILTERS.APPLIED_FILTERS_NUM' | translate}}"
                            ng-class="{active: ctrl.openFilter}"
                        )
                            tg-svg(svg-icon="icon-filters")
                            span.text(
                                ng-if="!ctrl.openFilter"
                                translate="BACKLOG.FILTERS.TITLE"
                            )
                            span.text(
                                ng-if="ctrl.openFilter"
                                translate="BACKLOG.FILTERS.HIDE_TITLE"
                            )
                            span.selected-filters(ng-if="ctrl.selectedFilters.length") {{ctrl.selectedFilters.length}}

                        tg-input-search(
                            q="ctrl.filterQ"
                            change="ctrl.changeQ(q)"
                        )

                        .display-tags-button#show-tags
                            .check.js-check(
                                ng-class="{'active': ctrl.showTags}"
                            )
                                input(
                                    type="checkbox"
                                    id="show-tags-input"
                                    ng-checked="ctrl.showTags"
                                    ng-model="ctrl.showTags"
                                )
                                div
                            label(
                                for="show-tags-input"
                                translate="BACKLOG.TAGS.SHOW"
                            )

                    .new-issue(tg-check-permission="add_issue")
                        button(
                            ng-class="{'btn-small': !ctrl.sprintIssues, 'btn-board': ctrl.sprintIssues}"
                            type="button"
                            variant="primary"
                            ng-click="ctrl.addNewIssue('standard', null)"
                        )
                            tg-svg(ng-if="ctrl.sprintIssues", svg-icon="icon-add")
                            span(ng-if="!ctrl.sprintIssues") {{"ISSUES.ACTION_NEW_ISSUE" | translate}}

                        button(
                            ng-class="{'btn-icon': !ctrl.sprintIssues, 'btn-board': ctrl.sprintIssues}"
                            type="button"
                            variant="secondary"
                            ng-click="ctrl.addIssuesInBulk()"
                        )
                            tg-svg(svg-icon="icon-bulk")
        .issue-container
            sidebar.filters-bar(
{'fraction_non_alphanumeric': 0.09921671018276762, 'fraction_numerical': 0.0009215174320380894, 'mean_word_length': 0.8484246380925348, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4600838', 'n_tokens_mistral': 1576, 'n_tokens_neox': 1473, 'n_words': 157}