razze diverse html

This commit is contained in:
Claudio Maggioni 2017-05-26 18:13:16 +02:00
parent c2ccb780dd
commit 7f9f6689f7

View file

@ -8,7 +8,11 @@
{{ if $cella.IsFood }} {{ if $cella.IsFood }}
class="cibo" class="cibo"
{{ else }} {{ else }}
{{ if eq $cella.Razza 0 }}
class="razza1" class="razza1"
{{ else }}
class="razza2"
{{ end }}
{{ end }}>{{ $cella.Health }}</td> {{ end }}>{{ $cella.Health }}</td>
{{ end }} {{ end }}
{{ end }} {{ end }}