mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-05 06:05:30 +02:00
Update locales and .gopmfile
This commit is contained in:
1 parent
b0eb47cb1c
commit
5aa2bf86f4
11 files changed
+174
-169
No files matched your search
@@ -224,7 +224,7 @@ func RegisterRoutes(m *macaron.Macaron) {
|
||||
m.Group("/hooks", func() {
|
||||
m.Combo("").Get(repo.ListHooks).
|
||||
Post(bind(api.CreateHookOption{}), repo.CreateHook)
|
||||
m.Combo("/:id:int").Patch(bind(api.EditHookOption{}), repo.EditHook).
|
||||
m.Combo("/:id").Patch(bind(api.EditHookOption{}), repo.EditHook).
|
||||
Delete(repo.DeleteHook)
|
||||
})
|
||||
m.Get("/raw/*", context.RepoRef(), repo.GetRawFile)
|
||||
|
||||
@@ -223,6 +223,10 @@ func Issues(ctx *context.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
if viewType == "assigned" {
|
||||
assigneeID = 0 // Reset ID to prevent unexpected selection of assignee.
|
||||
}
|
||||
|
||||
ctx.Data["IssueStats"] = issueStats
|
||||
ctx.Data["SelectLabels"] = com.StrTo(selectLabels).MustInt64()
|
||||
ctx.Data["ViewType"] = viewType
|
||||
|
||||
Reference in new issue
Block a user