Fix su celle vuote html

This commit is contained in:
Claudio Maggioni 2017-05-26 17:33:26 +02:00
parent 4f35cc959b
commit 5ec47fba06

View File

@ -86,15 +86,15 @@
<tr> <tr>
{{range $cella := $riga}} {{range $cella := $riga}}
<td {{ if not $cella }} <td {{ if not $cella }}
class="vuoto" class="vuoto"> </td>
{{ else }} {{ else }}
{{ if $cella.IsFood }} {{ if $cella.IsFood }}
class="cibo" class="cibo"
{{ else }} {{ else }}
class="razza1" class="razza1"
{{ end }}
{{ end }}>{{ $cella.Health }}</td> {{ end }}>{{ $cella.Health }}</td>
{{ end }} {{ end }}
{{ end }}
</tr> </tr>
{{ end }} {{ end }}
</table> </table>