mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-23 19:47:07 +09:00
Fix #200, add VERSION to template files
This commit is contained in:
1 parent
bcfa78b8b5
commit
ff690fd976
7 files changed
+24
-21
No files matched your search
@@ -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