Платформа ЦРНП "Мирокод" для разработки проектов https://git.mirocod.ru
 
 
 
 
 
 

22 lines
579 B

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)
}