{{define "app-updates"}} {{template "header" .}}
{{template "admin-header" .}} {{ if .UpdateChecks }} {{if .CheckFailed}}

× Automated update check failed.

Installed version: {{.Version}} (release notes).

Learn about latest releases on the WriteFreely blog or forum.

{{else if not .UpdateAvailable}}

WriteFreely is up to date.

Installed version: {{.Version}} (release notes).

{{else}}

A new version of WriteFreely is available! Get {{.LatestVersion}}

Read the release notes for details on features, bug fixes, and notes on upgrading from your current version, {{.Version}}.

{{end}}

Last checked: . Check now.

{{ else }}

Automated update checks are disabled.

Installed version: {{.Version}} (release notes).

Learn about latest releases on the WriteFreely blog or forum.

{{ end }} {{template "footer" .}} {{template "body-end" .}} {{end}}