freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/index.fmt
changeset 56 7c3794f5baa1
parent 54 f041b6570ff9
child 57 fa12b02023a0
     1.1 --- a/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/index.fmt	Mon Aug 31 22:44:47 2009 +0200
     1.2 +++ b/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/index.fmt	Fri Sep 04 20:26:48 2009 +0200
     1.3 @@ -6,6 +6,21 @@
     1.4    </head>
     1.5    <body>
     1.6        <h1>Quoridor Community Server</h1>
     1.7 +
     1.8 +      <h5>Games where you are expected to move</h5>
     1.9 +
    1.10 +      <ol>
    1.11 +      <#list doc.gameIds.* as g>
    1.12 +        <#if (g.@white = user || g.@black = user) && g.@result = "IN_PROGRESS" >
    1.13 +            <li>
    1.14 +                ${g.@white} vs. ${g.@black} <a href="games/${g.@id}/">board</a>
    1.15 +            </li>
    1.16 +        </#if>
    1.17 +      </#list>
    1.18 +      </ol>
    1.19 +
    1.20 +      <h5>All Games</h5>
    1.21 +
    1.22        <ol>
    1.23        <#list doc.gameIds.* as g>
    1.24          <li>