From bd85d22da17006e232aecefad1c25220d6daddae Mon Sep 17 00:00:00 2001 From: debian Date: Fri, 6 Dec 2019 16:27:57 -0700 Subject: [PATCH] Fix mirror URL --- custom/templates/repo/header.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom/templates/repo/header.tmpl b/custom/templates/repo/header.tmpl index 19a6f3a..0651766 100644 --- a/custom/templates/repo/header.tmpl +++ b/custom/templates/repo/header.tmpl @@ -13,7 +13,7 @@ {{.Name}} {{if and .RelAvatarLink .IsPrivate}}{{end}} {{if .IsArchived}}{{end}} - {{if .IsMirror}}
{{$.i18n.Tr "repo.mirror_from"}} {{$.Mirror.Address}}
{{end}} + {{if .IsMirror}}
{{$.i18n.Tr "repo.mirror_from"}} {{MirrorAddress $.Mirror}}
{{end}} {{if .IsFork}}
{{$.i18n.Tr "repo.forked_from"}} {{SubStr .BaseRepo.RelLink 1 -1}}
{{end}}