{{template "base/alert" .}}
{{range .PackageDescriptors}}
  • {{.Package.Name}} {{svg .Package.Type.SVGName 16}} {{.Package.Type.Name}}
    {{$timeStr := TimeSinceUnix .Version.CreatedUnix $.i18n.Lang}} {{if .Repository}} {{$.i18n.Tr "packages.published_by_in" $timeStr .Creator.HomeLink (.Creator.GetDisplayName | Escape) .Repository.HTMLURL (.Repository.FullName | Escape) | Safe}} {{else}} {{$.i18n.Tr "packages.published_by" $timeStr .Creator.HomeLink (.Creator.GetDisplayName | Escape) | Safe}} {{end}}
  • {{else}} {{if not .HasPackages}}
    {{svg "octicon-package" 32}}

    {{.i18n.Tr "packages.empty"}}

    {{.i18n.Tr "packages.empty.documentation" | Safe}}

    {{else}}

    {{.i18n.Tr "packages.filter.no_result"}}

    {{end}} {{end}} {{template "base/paginate" .}}