freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/game.fmt
changeset 77 d574ac6e44cc
parent 75 6802034b7a6f
child 88 a3be2be0112f
     1.1 --- a/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/game.fmt	Thu Sep 10 23:19:40 2009 +0200
     1.2 +++ b/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/game.fmt	Fri Sep 11 20:32:15 2009 +0200
     1.3 @@ -24,11 +24,11 @@
     1.4  
     1.5        <#assign play = false>
     1.6  
     1.7 -      <#if doc.game.id.@result = "IN_PROGRESS" >
     1.8 +      <#if doc.game.id.@status = "whiteMove" || doc.game.id.@status = "blackMove" >
     1.9            ${bundle("MOVE_WHO", doc.game.@currentPlayer?string)}
    1.10            <#assign play = user = doc.game.@currentPlayer>
    1.11        <#else>
    1.12 -        <#if doc.game.id.@result = "WHITE_WON">
    1.13 +        <#if doc.game.id.@status = "whiteWon">
    1.14            ${bundle("WON", doc.game.id.@white?string)}
    1.15          <#else>
    1.16            ${bundle("WON", doc.game.id.@black?string)}