Artur Galyamov
2 years ago
5 changed files with 28 additions and 0 deletions
@ -0,0 +1,22 @@
|
||||
package explore |
||||
|
||||
import ( |
||||
"code.gitea.io/gitea/modules/base" |
||||
"code.gitea.io/gitea/modules/context" |
||||
"code.gitea.io/gitea/modules/setting" |
||||
"net/http" |
||||
) |
||||
|
||||
const ( |
||||
tplExploreCompetences base.TplName = "explore/competences" |
||||
) |
||||
|
||||
func Competences(ctx *context.Context) { |
||||
ctx.Data["UsersIsDisabled"] = setting.Service.Explore.DisableUsersPage |
||||
ctx.Data["IsRepoIndexerEnabled"] = setting.Indexer.RepoIndexerEnabled |
||||
ctx.Data["Title"] = ctx.Tr("explore") |
||||
ctx.Data["PageIsExplore"] = true |
||||
ctx.Data["PageIsExploreCompetences"] = true |
||||
|
||||
ctx.HTML(http.StatusOK, tplExploreCompetences) |
||||
} |
Loading…
Reference in new issue