[Backport] Fix issue #4068: The next (>) and previous (<) buttons don't work in issue detail page

stable
David Barragán Merino 2016-04-07 12:24:16 +02:00
parent 8699fe3ec6
commit b0fe290dee
1 changed files with 7 additions and 4 deletions

View File

@ -47,18 +47,21 @@ div.wrapper(
span.block-description(ng-bind="issue.blocked_note || ('ISSUES.BLOCKED' | translate)") span.block-description(ng-bind="issue.blocked_note || ('ISSUES.BLOCKED' | translate)")
.issue-nav .issue-nav
svg.icon.icon-arrow-left( a(
ng-show="previousUrl" ng-show="previousUrl"
tg-bo-href="previousUrl" tg-bo-href="previousUrl"
title="{{'ISSUES.TITLE_PREVIOUS_ISSUE' | translate}}" title="{{'ISSUES.TITLE_PREVIOUS_ISSUE' | translate}}"
) )
use(xlink:href="#icon-arrow-left") svg.icon.icon-arrow-left
svg.icon.icon-arrow-right( use(xlink:href="#icon-arrow-left")
a(
ng-show="nextUrl" ng-show="nextUrl"
tg-bo-href="nextUrl" tg-bo-href="nextUrl"
title="{{'ISSUES.TITLE_NEXT_ISSUE' | translate}}" title="{{'ISSUES.TITLE_NEXT_ISSUE' | translate}}"
) )
use(xlink:href="#icon-arrow-right") svg.icon.icon-arrow-right
use(xlink:href="#icon-arrow-right")
.subheader .subheader
div.tags-block(tg-tag-line, ng-model="issue", required-perm="modify_issue") div.tags-block(tg-tag-line, ng-model="issue", required-perm="modify_issue")
tg-created-by-display.ticket-created-by(ng-model="issue") tg-created-by-display.ticket-created-by(ng-model="issue")