{{define "admin/plans.html"}} {{template "admin/layout_head" .}}
{{template "admin_pagehead" (dict "Icon" "bx-package" "Title" (T "admin.plans.title") "Desc" (T "admin.plans.desc"))}}

{{T "admin.plans.list_title"}}

{{T "admin.plans.list_sub_prefix"}} /pricing {{T "admin.plans.list_sub_suffix"}}

{{range index .Data "Plans"}} {{else}} {{end}}
{{T "admin.plans.col_sort"}} ID {{T "admin.plans.col_name"}} {{T "admin.plans.col_price"}} {{T "admin.plans.col_quota"}} {{T "admin.plans.col_show"}} {{T "admin.plans.col_buy"}} {{T "admin.plans.col_status"}} {{T "admin.plans.col_actions"}}
{{.sort_order}} {{.plan_id}}{{if eq (asInt .highlight) 1}} {{T "admin.plans.badge_highlight"}}{{end}} {{.name}}{{if .name_en}} / {{.name_en}}{{end}} ¥{{.price_yearly}} / ${{.price_yearly_usd}} {{.max_sites}} / {{.max_agents}} / {{.max_sessions_month}} {{if eq (asInt .show_on_pricing) 1}}{{T "admin.plans.badge_pricing"}}{{else}}—{{end}} {{if eq (asInt .purchasable) 1}}{{T "admin.plans.yes"}}{{else if eq (asInt .contact_only) 1}}{{T "admin.plans.contact"}}{{else}}—{{end}} {{if eq (asInt .status) 1}}{{T "admin.plans.enabled"}}{{else}}{{T "admin.plans.disabled"}}{{end}}
{{T "admin.plans.empty"}}
{{template "admin/layout_foot" .}} {{end}}