File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -502,7 +502,7 @@ func ViewIssue(ctx *context.Context) {
502
502
}
503
503
return
504
504
}
505
- ctx .Data ["Title" ] = issue .Title
505
+ ctx .Data ["Title" ] = fmt . Sprintf ( "#%d - %s" , issue .Index , issue . Title )
506
506
507
507
// Make sure type and URL matches.
508
508
if ctx .Params (":type" ) == "issues" && issue .IsPull {
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ package repo
6
6
7
7
import (
8
8
"container/list"
9
+ "fmt"
9
10
"path"
10
11
"strings"
11
12
@@ -148,7 +149,7 @@ func checkPullInfo(ctx *context.Context) *models.Issue {
148
149
}
149
150
return nil
150
151
}
151
- ctx .Data ["Title" ] = issue .Title
152
+ ctx .Data ["Title" ] = fmt . Sprintf ( "#%d - %s" , issue .Index , issue . Title )
152
153
ctx .Data ["Issue" ] = issue
153
154
154
155
if ! issue .IsPull {
You can’t perform that action at this time.
0 commit comments