{{define "user/plan.html"}} {{template "user/layout_head" .}} {{$p := index .Data "Plan"}} {{template "user_pagehead" (dict "Icon" "bx-purchase-tag" "Title" (T "user.plan.title") "Desc" (T "user.plan.desc"))}}
{{T "user.plan.current"}}{{$p.PlanID}} {{if $p.IsExpired}}{{T "user.plan.expired_prefix"}}{{$p.EffectivePlanID}}{{end}}
{{T "user.plan.quota_sites"}} {{$p.MaxSites}} · {{T "user.plan.quota_sessions"}} {{$p.MaxSessionsMonth}} · {{T "user.plan.quota_history"}} {{$p.HistoryRetentionDays}} {{T "user.plan.days"}}
{{if gt $p.PlanExpiresAt 0}}
{{T "user.plan.expires"}}{{unixTime $p.PlanExpiresAt}}
{{end}}
{{if .IsPro}} {{T "user.plan.pricing"}} {{T "user.plan.orders"}} {{end}}
{{template "user/layout_foot" .}} {{end}}