{{- .Auth.ByMatchingAccountID 2 }} {{- define "title" }} Inventory++ Account {{ end }} {{- $acctID := .Identity.Account.AccountID }} {{ .Identity.Claims.Name }} {{ or .Identity.Claims.Nickname .Identity.Claims.Subject }} {{- component "tutorial-tooltip" "AnchorTag" "h2" "AnchorID" "shops-button" "AnchorClickedEventName" "anchorClicked" "AnchorContent" "Shops" "AnchorClass" "bg-card my-[0.5em] px-[2em] py-[0.5em] rounded-lg" "PopoverID" "shops-popover" "PopoverContentIDPrefix" "shops-popover-content" "PopoverContents" ( newHTMLSlice "Click Shops to display all shops and platforms available" "Click Shops to hide them again" "There you go!" ) }} {{- range $i, $platform := .Accounts.GetOrderOfPlatformsOnAccountPage $acctID }} {{ component (printf "/accounts/%d/shops/list-items/%s" $acctID $platform) "OrderIndex" $i }} {{- end }}