1.1 --- a/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/game.fmt Mon Sep 28 14:42:19 2009 +0200
1.2 +++ b/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/game.fmt Sun Oct 25 14:51:37 2009 +0100
1.3 @@ -9,7 +9,7 @@
1.4 </#if>
1.5 </title>
1.6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
1.7 - <#if user != doc.game.@currentPlayer >
1.8 + <#if user != doc.game.@currentPlayer && doc.game.id.@status?index_of("Won") != -1>
1.9 <meta http-equiv="REFRESH" content="60;URL=/games/${doc.game.id.@id}">
1.10 </#if>
1.11 <script type="text/javascript">
1.12 @@ -71,7 +71,7 @@
1.13 </script>
1.14 </head>
1.15 <body>
1.16 - <h1><a href="/games/${doc.game.id.@id}">${bundle.GAME}</a></h1>
1.17 + <h1><a href="/">${bundle.TITLE_PLAIN}</a></h1>
1.18
1.19 <#macro status who>
1.20 ${who?string}
1.21 @@ -92,7 +92,6 @@
1.22 </p>
1.23
1.24 <p>
1.25 - <a href="/">${bundle.ROOT}</a>
1.26 <#if (doc.game.@currentMove?number > 0)>
1.27 <a href="/games/${doc.game.id.@id}?move=${doc.game.@currentMove?number - 1}">${bundle.PREVIOUS}</a>
1.28 <#else>