MCPcopy Index your code
hub / github.com/TruthHun/BookStack / Index

Method Index

controllers/ManagerController.go:42–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40}
41
42func (this *ManagerController) Index() {
43 this.TplName = "manager/index.html"
44 this.Data["Model"] = models.NewDashboard().Query()
45 this.GetSeoByPage("manage_dashboard", map[string]string{
46 "title": "仪表盘 - " + this.Sitename,
47 "keywords": "仪表盘",
48 "description": this.Sitename + "专注于文档在线写作、协作、分享、阅读与托管,让每个人更方便地发布、分享和获得知识。",
49 })
50 this.Data["Installed"] = utils.GetInstalledDependencies()
51 this.Data["IsDashboard"] = true
52}
53
54func (this *ManagerController) UpdateMemberNoRank() {
55 memberId, _ := this.GetInt("member_id", 0)

Callers

nothing calls this directly

Calls 4

NewDashboardFunction · 0.92
GetInstalledDependenciesFunction · 0.92
QueryMethod · 0.80
GetSeoByPageMethod · 0.80

Tested by

no test coverage detected