{{define "deploy"}} {{template "layout_start" .}} {{/* THE INSTALL WIZARD. v0.315.0: this page is the install flow ONLY. An installed app's settings are the app page's „Beallitasok" tab (app_settings.html), which renders the same form fields from the shared `app_deploy_fields` partial with .AlreadyDeployed true — so the two cannot drift apart. Vissza and Megsem go to the APP, not to the list: the household got here from the app's page and that is where cancelling belongs. */}}
{{if .FlashSuccess}}
{{.FlashSuccess}}
{{end}} {{if .FlashError}}
{{.FlashError}}
{{end}} {{- if .KnownLoginLine}}
{{.KnownLoginLine}}
{{end}}

{{.Meta.DisplayName}}

{{if .Meta.Description}}

{{.Meta.Description}}

{{end}}
{{if .Meta.Resources.MemRequest}}~{{.Meta.Resources.MemRequest}}{{end}} {{if .Meta.Resources.NeedsHDD}}{{T "common.hdd_szukseges"}}{{end}} {{if .Meta.Resources.HungarianUI}}{{T "common.magyar_felulet"}}{{end}}
{{T "deploy.reszletes_leiras_kepernyokepek"}}
{{if and (not .AlreadyDeployed) .MemoryInfo}} {{with .MemoryInfo}} {{if .Available}}
{{if .Blocked}}
{{T "deploy.nincs_eleg_memoria_foglalas_telepites"}}
{{else}}
{{T "deploy.memoria"}} {{.AfterMB}} MB / {{.UsableMB}} MB ({{.Percent}}%)
{{T "deploy.jelenlegi_hasznalat_mb_2"}} {{$.Meta.DisplayName}} (+{{.NewRequestMB}} MB)
{{if .OvercommitWarn}}
{{T "deploy.az_alkalmazasok_csucsterhelese_meghaladh"}}
{{end}} {{end}}
{{end}} {{end}} {{end}}
{{/* R-351 SCENARIO A — the values below came from this app's OWN backup, so a reinstall does not ask the customer to remember what the backup already recorded. Stated, never silent: a prefilled field whose origin is unexplained is indistinguishable from a default. */}} {{if and (not .AlreadyDeployed) .RestoreHasRecord}}
{{T "deploy.ennek_az_alkalmazasnak_van_korabbi"}} {{if .RestoreRecordedAddress}}{{T "deploy.korabbi_webcim"}}{{end}} {{if .RestoreRecordedDrive}}{{T "deploy.az_adatai_itt_voltak"}}{{end}} {{T "deploy.ha_most_mashova_szeretned_telepiteni"}}
{{end}} {{/* R-351 / Part 1 — WHERE THE DATA WILL LIVE, before the button is pressed. Measured 2026-08-21: 13 of 53 catalog templates declare a storage field; the other 40 have none and their data goes to the system drive, which no screen said. This states it. It changes no placement — that is a separate ruling and a separate session. */}} {{if not .AlreadyDeployed}}
{{if .RestoreRecordedDeclaresPath}} {{T "deploy.az_alkalmazas_adatai_az_alabb"}} {{else}} {{T "deploy.hol_lesznek_az_adatok_ennel"}} {{end}}
{{end}} {{if .DockerBelowReserve}}
{{T "deploy.nincs_eleg_szabad_tarhely_a"}}
{{end}} {{template "app_deploy_fields" .}} {{if not .AlreadyDeployed}}
{{T "common.megsem"}}
{{end}}
{{template "layout_end" .}} {{end}}