{{define "content"}}{{$a := .D.A}}{{$l := $a.Latest}}
{{if ne .D.Row.State "active"}}This app is disabled: only you and the administrators see this page.
{{end}}by {{$a.Publisher}}{{if and $a.Author (ne $a.Author $a.Publisher)}} · written by {{$a.Author}}{{end}}
{{$a.Tagline}}
{{$r := $a.Ratings}}{{range reactions}}{{emoji .}}{{index $r .}}{{end}}{{.}}
{{else}}{{$a.Tagline}}
{{end}}{{$l.Changelog}}
{{end}}This app asks for nothing beyond its own sandbox.
{{end}} {{if $l.Requires}}Needs the package{{if gt (len $l.Requires) 1}}s{{end}}: {{join $l.Requires ", "}}
{{end}}{{$a.Name}} is released under {{$a.Licence}}.
{{if $l.Source}}Download source code {{$l.Source.Name}} · {{size $l.Source.Size}}{{else}}No source archive was published with this version.{{end}}
{{if $a.SourceRepo}}Online repository: {{$a.SourceRepo}}
{{end}}{{.Changelog}}
{{end}} {{if eq .Sandbox "none"}}{{if .UnsandboxedReason}}The developer's reason: “{{.UnsandboxedReason}}”
{{end}}{{end}}You publish this app, so you cannot review it.
{{else}} {{end}} {{else}}Sign in to react and review.
{{end}} {{$admin := and .User .User.Admin}}{{$csrf := .CSRF}}{{$id := $a.ID}} {{range .D.Reviews.Reviews}}{{.Body}}
{{end}}No reviews yet.
{{end}}