Fix #200, add VERSION to template files

This commit is contained in:
Unknown 2014-05-28 00:06:31 -04:00
parent bcfa78b8b5
commit ff690fd976
7 changed files with 24 additions and 21 deletions

View file

@ -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) {