package playersview import "git.haelnorr.com/h/oslstats/internal/db" import "fmt" templ PlayerSeasonsTab(seasonInfos []*db.PlayerSeasonInfo) { if len(seasonInfos) == 0 {
No season history yet.
This player has not participated in any seasons.
| Season | League | Team | Role |
|---|---|---|---|
| { info.Season.Name } | { info.League.Name } |
if info.Team.Color != "" {
}
{ info.Team.Name }
|
if info.IsManager { Manager } else { Player } |