{{/* gotype: github.com/cj123/assetto-server-manager.carDetailsTemplateVars */}} {{ define "title" }}{{ $.Car.Details.Name }}{{ end }} {{ define "content" }}

{{ $.Car.Details.Name }}

({{ $.Car.Name}})
{{ if gt (len $.Car.Skins) 0 }} {{ $skin := index $.Car.Skins 0 }}
{{ $.Car.Details.Name }}, skin {{ $skin }}
{{ range $index, $skin := $.Car.Skins }}
{{ $.Car.Details.Name }}, skin {{ $skin }}
{{ end }}
{{ end }}
{{ range $index, $tag := $.Car.Details.Tags }} {{ $tag }} {{ if WriteAccess }} {{ end }} {{ end }}
{{ if WriteAccess }}
{{ end }}
{{ with $.Car.Details.Notes }}

Notes

{{ trustHTML . }}

Description

{{ end }} {{ with $.Car.Details.Notes }} {{ end }} {{ with $.Car.Details.Description }}

{{ trustHTML . }}

{{ else }}

There is no description for this car.

{{ end }}

Setups

{{ if gt (len $.Setups) 0 }} {{ if DeleteAccess }} {{ end }} {{ range $trackName, $setups := $.Setups }} {{ range $index, $setup := $setups }} {{ if eq $index 0 }} {{ end }} {{ if DeleteAccess }} {{ end }} {{ end }} {{ end }}
Track Setup FileDelete
{{ prettify $trackName false }} {{ $setup }}
{{ if WriteAccess }}

You can upload setups for this car using the form below.

{{ end }} {{ else }}

There are no setups for this car. You can upload one below.

{{ end }} {{ if WriteAccess }}
{{ end }}

Sessions

This car has been used in {{ len $.Results }} sessions.

{{ with $.Car.Details.DownloadURL }} {{ end }}

Tyres

    {{ range $tyre, $name := $.Car.Tyres }}
  • {{ $name }} ({{ $tyre }})
  • {{ end }}

Specs

    {{ with $.Car.Details.Specs.Acceleration }}
  • Acceleration: {{ . }}
  • {{ end }} {{ with $.Car.Details.Specs.BHP }}
  • BHP: {{ . }}
  • {{ end }} {{ with $.Car.Details.Specs.PWRatio }}
  • Power Ratio: {{ . }}
  • {{ end }} {{ with $.Car.Details.Specs.TopSpeed }}
  • Top Speed: {{ . }}
  • {{ end }} {{ with $.Car.Details.Specs.Torque }}
  • Torque: {{ . }}
  • {{ end }} {{ with $.Car.Details.Specs.Weight }}
  • Weight: {{ . }}
  • {{ end }}

About

    {{ with $.Car.Details.Author }}
  • Author: {{ . }}
  • {{ end }} {{ with $.Car.Details.Brand }}
  • Brand: {{ . }}
  • {{ end }} {{ with $.Car.Details.Class }}
  • Class: {{ . }}
  • {{ end }} {{ with $.Car.Details.Country }}
  • Country: {{ . }}
  • {{ end }} {{ with $.Car.Details.Year }}
  • Year: {{ . }}
  • {{ end }} {{ with $.Car.Details.Version }}
  • Version: {{ . }}
  • {{ end }}
{{ if WriteAccess }}
Car Metadata
Download links for cars will be shown in Content Manager's server information screen.
{{ with $.Car.Details.Notes }}
{{ trustHTML . }}
{{ end }}
Notes will be shown to all users when they visit this car page.
Skins
Choose a Skin
{{ if DeleteAccess }}
{{ end }}
{{ end }} {{ if DeleteAccess }}
Danger Zone!

Permanently delete this car and all associated skins.

Delete Car
{{ end }}
{{ end }}