{{- .Auth.ByMatchingAccountID 2 }} {{- define "title" }} Inventory++ Account {{ end }} {{- $acctID := .Identity.Account.AccountID }} {{ .Identity.Claims.Name }} {{ or .Identity.Claims.Nickname .Identity.Claims.Subject }} Shops {{- range $i, $platform := .Accounts.GetOrderOfPlatformsOnAccountPage $acctID }} {{ component (printf "/accounts/%d/shops/list-items/%s" $acctID $platform) "OrderIndex" $i }} {{- end }}