razze diverse html
This commit is contained in:
parent
c2ccb780dd
commit
7f9f6689f7
1 changed files with 5 additions and 1 deletions
|
@ -8,7 +8,11 @@
|
||||||
{{ if $cella.IsFood }}
|
{{ if $cella.IsFood }}
|
||||||
class="cibo"
|
class="cibo"
|
||||||
{{ else }}
|
{{ else }}
|
||||||
class="razza1"
|
{{ if eq $cella.Razza 0 }}
|
||||||
|
class="razza1"
|
||||||
|
{{ else }}
|
||||||
|
class="razza2"
|
||||||
|
{{ end }}
|
||||||
{{ end }}>{{ $cella.Health }}</td>
|
{{ end }}>{{ $cella.Health }}</td>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Reference in a new issue