From 7f9f6689f7e363475e22c92712e67cb53f842056 Mon Sep 17 00:00:00 2001 From: Claudio Maggioni Date: Fri, 26 May 2017 18:13:16 +0200 Subject: [PATCH] razze diverse html --- template/tabella.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 }}