# HG changeset patch
# User Jaroslav Tulach
# Date 1252158039 -7200
# Node ID 74d333da17254fe9435fc8db035f0ff5abb26fc6
# Parent fd7e8e705b753fc1b213090aad70a77c9066b533
Displaying list of moves
diff -r fd7e8e705b75 -r 74d333da1725 freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/game.fmt
--- a/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/game.fmt Fri Sep 04 23:02:23 2009 +0200
+++ b/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/game.fmt Sat Sep 05 15:40:39 2009 +0200
@@ -10,6 +10,7 @@
${bundle.RELOAD}
+ ${bundle.ROOT}
<#if message?? >
@@ -18,6 +19,7 @@
#if>
+ ${bundle.MOVE_WHO} ${doc.game.@currentPlayer}
<#if user = doc.game.@currentPlayer >
#if>
${doc.game.board}
+
+ ${bundle.MOVES}
+
+
+
+
+ ${bundle.MOVENUMBER} |
+ ${doc.game.id.@white} |
+ ${doc.game.id.@black} |
+
+
+
+ <#list doc.game.moves.* as item>
+ <#if item.@index?number % 2 = 1>
+ ${item.@index} | ${item.@move} |
+ <#else>
+ ${item.@move} |
+ #if>
+ #list>
+
+