package playersview import "git.haelnorr.com/h/oslstats/internal/db" import "fmt" templ PlayerTeamsTab(teamInfos []*db.PlayerTeamInfo) { if len(teamInfos) == 0 {

No team history yet.

This player has not been on any teams.

} else {
for _, info := range teamInfos { }
Team Seasons Played
if info.Team.Color != "" {
} { info.Team.Name }
{ fmt.Sprint(info.SeasonsCount) }
} }