# HG changeset patch # User Jaroslav Tulach # Date 1252094404 -7200 # Node ID e00be634746c726c02e732c95598f87ef53625d8 # Parent fa12b02023a0666e61d15d515b39a0c025cb2c90 Using macro diff -r fa12b02023a0 -r e00be634746c freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/index.fmt --- a/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/index.fmt Fri Sep 04 21:14:33 2009 +0200 +++ b/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/index.fmt Fri Sep 04 22:00:04 2009 +0200 @@ -7,6 +7,10 @@

Quoridor Community Server

+ <#macro game game> + ${game.@white} vs. ${game.@black} board + + <#if message?? >

${message} @@ -19,7 +23,7 @@ <#list doc.gameIds.* as g> <#if (g.@white = user || g.@black = user) && g.@result = "IN_PROGRESS" >

  • - ${g.@white} vs. ${g.@black} board + <@game g/>
  • @@ -34,7 +38,7 @@ (g.@black = user && g.@result = "BLACK_WON") >
  • - ${g.@white} vs. ${g.@black} board + <@game g/>
  • @@ -49,7 +53,7 @@ (g.@black = user && g.@result = "WHITE_WON") >
  • - ${g.@white} vs. ${g.@black} board + <@game g/>
  • @@ -66,7 +70,7 @@
      <#list doc.gameIds.* as g>
    1. - ${g.@white} vs. ${g.@black} board + <@game g/>