Платформа ЦРНП "Мирокод" для разработки проектов
https://git.mirocod.ru
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
579 B
23 lines
579 B
3 years ago
|
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)
|
||
|
}
|