mirror of https://github.com/go-gitea/gitea
Fix outdated tmpl code (#32953)
Some PRs were before tmpl ctx refactoring and used outdated codepull/32944/head^2
parent
462ce31530
commit
89f31f79fd
@ -1,4 +1,4 @@ |
||||
{{if eq .PackageDescriptor.Package.Type "arch"}} |
||||
{{range .PackageDescriptor.Metadata.Licenses}}<div class="item" title="{{$.locale.Tr "packages.details.license"}}">{{svg "octicon-law"}} {{.}}</div>{{end}} |
||||
{{range .PackageDescriptor.Metadata.Licenses}}<div class="item" title="{{ctx.Locale.Tr "packages.details.license"}}">{{svg "octicon-law"}} {{.}}</div>{{end}} |
||||
{{if .PackageDescriptor.Metadata.ProjectURL}}<div class="item">{{svg "octicon-link-external"}} <a href="{{.PackageDescriptor.Metadata.ProjectURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.project_site"}}</a></div>{{end}} |
||||
{{end}} |
||||
|
Loading…
Reference in new issue