Reverting the refresh restriction and using smaller header
authorJaroslav Tulach <jtulach@netbeans.org>
Tue, 03 Nov 2009 23:51:36 +0100
changeset 13673b18c815499
parent 135 232e42153945
child 141 8d5afaa13ee3
Reverting the refresh restriction and using smaller header
freemarkerdor/pom.xml
freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/game.fmt
     1.1 --- a/freemarkerdor/pom.xml	Sun Oct 25 14:55:51 2009 +0100
     1.2 +++ b/freemarkerdor/pom.xml	Tue Nov 03 23:51:36 2009 +0100
     1.3 @@ -10,7 +10,7 @@
     1.4    <groupId>org.apidesign</groupId>
     1.5    <artifactId>freemarkerdor</artifactId>
     1.6    <name>freemarkerdor</name>
     1.7 -  <version>1.34</version>
     1.8 +  <version>1.35</version>
     1.9    <url>http://maven.apache.org</url>
    1.10    <dependencies>
    1.11      <dependency>
     2.1 --- a/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/game.fmt	Sun Oct 25 14:55:51 2009 +0100
     2.2 +++ b/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/game.fmt	Tue Nov 03 23:51:36 2009 +0100
     2.3 @@ -9,7 +9,7 @@
     2.4        </#if>
     2.5      </title>
     2.6      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
     2.7 -    <#if user != doc.game.@currentPlayer && doc.game.id.@status?index_of("Won") != -1>
     2.8 +    <#if user != doc.game.@currentPlayer >
     2.9          <meta http-equiv="REFRESH" content="60;URL=/games/${doc.game.id.@id}">
    2.10      </#if>
    2.11      <script type="text/javascript">
    2.12 @@ -71,7 +71,7 @@
    2.13      </script>
    2.14    </head>
    2.15    <body>
    2.16 -      <h1><a href="/">${bundle.TITLE_PLAIN}</a></h1>
    2.17 +      <h3><a href="/">${bundle.TITLE_PLAIN}</a></h3>
    2.18  
    2.19        <#macro status who>
    2.20            ${who?string}