freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/index.fmt
changeset 139 85bbddead23e
parent 135 232e42153945
child 146 0b889d9e4ee1
     1.1 --- a/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/index.fmt	Sun Oct 25 14:55:51 2009 +0100
     1.2 +++ b/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/index.fmt	Mon Oct 26 16:33:16 2009 +0100
     1.3 @@ -55,7 +55,9 @@
     1.4        <#macro game game>
     1.5            ${bundle("gameWhiteBlack", game.@white?string, game.@black?string)} 
     1.6            <a href="/games/${game.@id}/"><@before (now - game.@modified?number)?int/></a>
     1.7 -          ${bundle("comments", game.@comments?number)}
     1.8 +          <#if game.@comments?number != 0>
     1.9 +            ${bundle("comments", game.@comments?number)}
    1.10 +          </#if>
    1.11            <#assign printed = printed + 1/>
    1.12        </#macro>
    1.13