# HG changeset patch
# User Jaroslav Tulach
# Date 1256478697 -3600
# Node ID d83dc9d624e85617648254a1cdb5b16eaf5c4e00
# Parent 23055e2d65394592d470e356c3a353aaa87165e7
Don't refresh when the game is over, title is the link to list of all games
diff -r 23055e2d6539 -r d83dc9d624e8 freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/game.fmt
--- a/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/game.fmt Sun Oct 25 14:42:33 2009 +0100
+++ b/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/game.fmt Sun Oct 25 14:51:37 2009 +0100
@@ -9,7 +9,7 @@
#if>
- <#if user != doc.game.@currentPlayer >
+ <#if user != doc.game.@currentPlayer && doc.game.id.@status?index_of("Won") != -1>
#if>
-
+
<#macro status who>
${who?string}
@@ -92,7 +92,6 @@
- ${bundle.ROOT}
<#if (doc.game.@currentMove?number > 0)>
${bundle.PREVIOUS}
<#else>