<commit_before>doctype html

div.wrapper(
    ng-controller="IssueDetailController as ctrl",
    ng-init="section='issues'"
)
    tg-project-menu

    div.main.us-detail
        div.us-detail-header.header-with-actions
            include ../includes/components/mainTitle

        section.us-story-main-data
            header
                tg-vote-button.upvote-btn(
                    item="issue"
                    on-upvote="ctrl.onUpvote"
                    on-downvote="ctrl.onDownvote"
                )
                .us-title(ng-class="{blocked: issue.is_blocked}")
                    h2.us-title-text
                        span.us-number(tg-bo-ref="issue.ref")
                        span.us-name(tg-editable-subject, ng-model="issue", required-perm="modify_issue")

                    p.us-related-task(ng-if="issue.generated_user_stories.length")
                        | {{ 'ISSUES.PROMOTED'|translate }}
                        a(
                            href=""
                            ng-repeat="us in issue.generated_user_stories"
                            tg-check-permission="view_us"
                            tg-bo-title="'#' + us.ref + ' ' + us.subject"
                            tg-nav="project-userstories-detail:project=project.slug,ref=us.ref"
                        )
                              span(tg-bo-ref="us.ref")

                    p.external-reference(ng-if="issue.external_reference")
                        | {{ 'ISSUES.EXTERNAL_REFERENCE'|translate }}
                        a(
                            target="_blank"
                            tg-bo-href="issue.external_reference[1]"
                            title="{{'ISSUES.GO_TO_EXTERNAL_REFERENCE' | translate}}"
                        )
                            span {{ issue.external_reference[1] }}

                    p.block-desc-container(ng-show="issue.is_blocked")
                        span.block-description-title(translate="COMMON.BLOCKED")
                        span.block-description(ng-bind="issue.blocked_note || ('ISSUES.BLOCKED' | translate)")

                    .issue-nav
                        svg.icon.icon-arrow-left(
                            ng-show="previousUrl"
                            tg-bo-href="previousUrl"
                            title="{{'ISSUES.TITLE_PREVIOUS_ISSUE' | translate}}"
                        )
                            use(xlink:href="#icon-arrow-left")
                        svg.icon.icon-arrow-right(
                            ng-show="nextUrl"
                            tg-bo-href="nextUrl"
                            title="{{'ISSUES.TITLE_NEXT_ISSUE' | translate}}"
                        )
                            use(xlink:href="#icon-arrow-right")<commit_msg>Fix issue #4068: The next (>) and previous (<) buttons don't work in issue detail page<commit_after>doctype html

div.wrapper(
    ng-controller="IssueDetailController as ctrl",
    ng-init="section='issues'"
)
    tg-project-menu

    div.main.us-detail
        div.us-detail-header.header-with-actions
            include ../includes/components/mainTitle

        section.us-story-main-data
            header
                tg-vote-button.upvote-btn(
                    item="issue"
                    on-upvote="ctrl.onUpvote"
                    on-downvote="ctrl.onDownvote"
                )
                .us-title(ng-class="{blocked: issue.is_blocked}")
                    h2.us-title-text
                        span.us-number(tg-bo-ref="issue.ref")
                        span.us-name(tg-editable-subject, ng-model="issue", required-perm="modify_issue")

                    p.us-related-task(ng-if="issue.generated_user_stories.length")
                        | {{ 'ISSUES.PROMOTED'|translate }}
                        a(
                            href=""
                            ng-repeat="us in issue.generated_user_stories"
                            tg-check-permission="view_us"
                            tg-bo-title="'#' + us.ref + ' ' + us.subject"
                            tg-nav="project-userstories-detail:project=project.slug,ref=us.ref"
                        )
                              span(tg-bo-ref="us.ref")

                    p.external-reference(ng-if="issue.external_reference")
                        | {{ 'ISSUES.EXTERNAL_REFERENCE'|translate }}
                        a(
                            target="_blank"
                            tg-bo-href="issue.external_reference[1]"
                            title="{{'ISSUES.GO_TO_EXTERNAL_REFERENCE' | translate}}"
                        )
                            span {{ issue.external_reference[1] }}

                    p.block-desc-container(ng-show="issue.is_blocked")
                        span.block-description-title(translate="COMMON.BLOCKED")
                        span.block-description(ng-bind="issue.blocked_note || ('ISSUES.BLOCKED' | translate)")

                    .issue-nav
                        a(
                            ng-show="previousUrl"
                            tg-bo-href="previousUrl"
                            title="{{'ISSUES.TITLE_PREVIOUS_ISSUE' | translate}}"
                        )
                            svg.icon.icon-arrow-left
                                use(xlink:href="#icon-arrow-left")
                        a(
                            ng-show="nextUrl"
                            tg-bo-href="nextUrl"
                            title="{{'ISSUES.TITLE_NEXT_ISSUE' | translate}}"
                        )
                            svg.icon.icon-arrow-right
                                use(xlink:href="#icon-arrow-right")

{'fraction_non_alphanumeric': 0.1152097902097902, 'fraction_numerical': 0.0017482517482517483, 'mean_word_length': 1.1025358324145536, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '5985023', 'n_tokens_mistral': 1557, 'n_tokens_neox': 1450, 'n_words': 144}