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 }}
class="cibo"
{{ else }}
class="razza1"
{{ if eq $cella.Razza 0 }}
class="razza1"
{{ else }}
class="razza2"
{{ end }}
{{ end }}>{{ $cella.Health }}</td>
{{ end }}
{{ end }}