freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/game.fmt
changeset 99 fed05535725f
parent 98 37ac8eb59b1b
child 100 8b899ed24f9f
     1.1 --- a/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/game.fmt	Sat Sep 19 08:54:30 2009 +0200
     1.2 +++ b/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/game.fmt	Sat Sep 19 12:51:50 2009 +0200
     1.3 @@ -14,7 +14,7 @@
     1.4      </#if>
     1.5    </head>
     1.6    <body>
     1.7 -      <h1>${bundle.GAME}</h1>
     1.8 +      <h1><a href="/games/${doc.game.id.@id}">${bundle.GAME}</a></h1>
     1.9  
    1.10        <#macro status who>
    1.11            ${who?string}
    1.12 @@ -29,12 +29,11 @@
    1.13  
    1.14  
    1.15        <p>
    1.16 -          <b>${bundle.WHITE}:</b> <@status doc.game.id.@white/><br>
    1.17 -          <b>${bundle.BLACK}:</b> <@status doc.game.id.@black/><br>
    1.18 +          <b>${bundle.WHITE}:</b> <@status doc.game.id.@white/> ${bundle("FENCES_LEFT", board.players[0].fences)}<br>
    1.19 +          <b>${bundle.BLACK}:</b> <@status doc.game.id.@black/> ${bundle("FENCES_LEFT", board.players[1].fences)}<br>
    1.20        </p>
    1.21  
    1.22        <p>
    1.23 -      <a href="/games/${doc.game.id.@id}">${bundle.RELOAD}</a>
    1.24        <a href="/">${bundle.ROOT}</a>
    1.25        </p>
    1.26