diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl index 27e261a28d..cb7d95abce 100644 --- a/templates/repo/header.tmpl +++ b/templates/repo/header.tmpl @@ -128,7 +128,7 @@ {{end}} - {{if .EnableLicenses}} + {{if or .EnableLicenses (.Permission.IsAdmin)}} {{svg "octicon-key"}} {{ctx.Locale.Tr "repo.licenses"}} {{if .NumLicensePackages}}