mirror of
https://github.com/go-gitea/gitea
synced 2025-07-23 02:38:35 +00:00
Fix #200, add VERSION to template files
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user