Fix #200, add VERSION to template files
This commit is contained in:
parent
bcfa78b8b5
commit
ff690fd976
7 changed files with 24 additions and 21 deletions
|
@ -95,6 +95,11 @@ func Issues(ctx *middleware.Context) {
|
|||
|
||||
// Get posters.
|
||||
for i := range issues {
|
||||
if err = issues[i].GetLabels(); err != nil {
|
||||
ctx.Handle(500, "issue.Issues(GetLabels)", fmt.Errorf("[#%d]%v", issues[i].Id, err))
|
||||
return
|
||||
}
|
||||
|
||||
idx := models.PairsContains(pairs, issues[i].Id)
|
||||
|
||||
if filterMode == models.FM_MENTION && (idx == -1 || !pairs[idx].IsMentioned) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue