{{ define "content" }}
{{ template "pkg-update-alert" . | ForPkgUpdateAlert }}

Installed Packages

{{ if eq (len .InstalledPackages) 0 }}

No packages installed yet in your cluster. You might want to try one of the packages below.

{{ end }} {{ range .InstalledPackages }}
{{ if eq .IconUrl "" }} {{ .Name }} {{ else }} {{ .Name }} {{ end }}
{{ .Name }}
{{ .ShortDescription }}
Install
{{ range .Packages }} {{ end }}
Name Namespace Repository Version Status
{{ .Package.Name }} {{ .Package.Namespace }} {{ .Package.Spec.PackageInfo.RepositoryName }} {{ .Package.Spec.PackageInfo.Version }} {{ .Status.Status }} {{ if and (eq .Status.Status "Ready") .InstalledManifest .InstalledManifest.Entrypoints }} {{ end }} {{ if (index $.PackageUpdateAvailable (print .Package.Namespace "/" .Package.Name)) }} {{ end }} Configure
{{ end }}
{{ if or (ne (len .AvailablePackages) 0) (eq (len .InstalledPackages) 0) }}

Available Packages

{{ if and (eq (len .AvailablePackages) 0) (eq (len .InstalledPackages) 0) }}

No packages are available right now.

{{ end }}
{{ end }}
{{ end }}