all repos — elgit @ ef83d4e55a4b8a65c982bfb80c00b2b00950cf06

fork of legit: web frontend for git, written in go

remove unnecessary displayname property

Alan Pearce
commit

ef83d4e55a4b8a65c982bfb80c00b2b00950cf06

parent

a943f744c1f12ceda9e066cfe350c1aa782f3290

1 file changed, 0 insertions(+), 7 deletions(-)

changed files
M routes/routes.goroutes/routes.go
@@ -94,7 +94,6 @@
pageData := templates.PageData{ Meta: d.c.Meta, Name: repoName, - DisplayName: getDisplayName(repoName), Ref: mainBranch, Description: getDescription(repoPath), Servername: d.c.Server.Name,
@@ -126,7 +125,6 @@ }
data := make(map[string]any) data["name"] = repoName - data["displayname"] = getDisplayName(repoName) data["ref"] = ref data["parent"] = treePath data["desc"] = getDescription(repoPath)
@@ -160,7 +158,6 @@ return err
} data := make(map[string]any) data["name"] = repoName - data["displayname"] = getDisplayName(repoName) data["ref"] = ref data["desc"] = getDescription(repoPath) data["path"] = treePath
@@ -242,7 +239,6 @@
pageData := templates.PageData{ Meta: d.c.Meta, Name: repoName, - DisplayName: getDisplayName(repoName), Ref: ref, Description: getDescription(repoPath), Log: true,
@@ -273,7 +269,6 @@ Meta: d.c.Meta,
Name: repoName, Stat: diff.Stat, Diff: diff.Diff, - DisplayName: getDisplayName(repoName), Ref: ref, Description: getDescription(repoPath), }
@@ -303,7 +298,6 @@ }
pageData := templates.PageData{ Meta: d.c.Meta, - DisplayName: getDisplayName(repoName), Name: repoName, Ref: ref, Description: getDescription(repoPath),
@@ -339,7 +333,6 @@
pageData := templates.PageData{ Meta: d.c.Meta, Name: repoName, - DisplayName: getDisplayName(repoName), Description: getDescription(repoPath), }