diff --git a/template/tabella.html b/template/tabella.html index 773fae2..0b1a638 100644 --- a/template/tabella.html +++ b/template/tabella.html @@ -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 }} {{ end }} {{ end }}