{{define "settings_notifications"}} {{template "layout_start" .}}

{{T "settings_notifications.ertesitesek"}}

{{if .HubEnabled}} {{if .NotificationSuccess}}
{{.NotificationSuccess}}
{{end}} {{if .NotificationError}}
{{.NotificationError}}
{{end}}
{{.CSRFField}}{{if .NotificationClearConfirm}}

{{T "settings_notifications.clear_warning"}}

{{end}}
{{with .NotificationPrefs}}{{$st := .GroupState "machine"}}
{{T "settings_notifications.group_machine_desc"}}{{if eq $st "custom"}} {{T "settings_notifications.group_custom_hint"}} {{T "settings_notifications.reszletek"}}{{end}}
{{end}} {{with .NotificationPrefs}}{{$st := .GroupState "apps"}}
{{T "settings_notifications.group_apps_desc"}}{{if eq $st "custom"}} {{T "settings_notifications.group_custom_hint"}} {{T "settings_notifications.reszletek"}}{{end}}
{{end}} {{with .NotificationPrefs}}{{$st := .GroupState "handled"}}
{{T "settings_notifications.group_handled_desc"}}{{if eq $st "custom"}} {{T "settings_notifications.group_custom_hint"}} {{T "settings_notifications.reszletek"}}{{end}}
{{end}}
{{T "settings_notifications.reszletek"}}

{{T "settings_notifications.reszletek_hint"}}

{{T "settings_notifications.ora_azonos_problema_eseten_ennyi"}}
{{else}}
{{T "settings_notifications.az_ertesitesek_a_kozponti_rendszeren"}}
{{end}}
{{if .AppEmailAvailable}}

{{T "settings_notifications.alkalmazas_email"}}

{{T "settings_notifications.az_alkalmazasok_a_felhom_on"}}

{{if .AppEmailSuccess}}
{{.AppEmailSuccess}}
{{end}} {{if .AppEmailError}}
{{.AppEmailError}}
{{end}}
{{.CSRFField}}
{{T "settings_notifications.ez_jelenik_meg_a_kimeno"}}

{{T "settings_notifications.bekapcsolas_utan_az_egyes_alkalmazasokna"}}

{{end}} {{template "layout_end" .}} {{end}}