Update server description rendering

This commit is contained in:
Chandler Swift 2020-03-29 22:28:39 -05:00
parent 59c18fdaff
commit 3369dceabc

View file

@ -14,9 +14,9 @@
{{range .}} {{range .}}
<h3>{{.Title}}</h3> <h3>{{.Title}}</h3>
<ul> <ul>
<li><b>Description:</b> {{.Description}}</li>
<li><b>Connection String:</b> {{.IPAddr}}{{if ne .Port 34197}}:{{.Port}}{{end}}</li> <li><b>Connection String:</b> {{.IPAddr}}{{if ne .Port 34197}}:{{.Port}}{{end}}</li>
<li><b>Version:</b> {{.Version}}</li> <li><b>Version:</b> {{.Version}}</li>
<li><b>Server Name:</b> {{.Title}}</li>
<li><b>Current players:</b><br>{{.Players}}</li> <li><b>Current players:</b><br>{{.Players}}</li>
</ul> </ul>
{{end}} {{end}}