Permalink
Browse files

Merge branch 'master' of github.com:jtrain/nmt

  • Loading branch information...
2 parents 81dd36f + e7e2972 commit b5a5dcf7702a20ff4b1fa9755ed0579dc2d75ce1 @jtrain committed Mar 11, 2012
Showing with 14 additions and 1 deletion.
  1. +14 −1 views/index.tpl
View
@@ -55,7 +55,20 @@ td .btn, table {
<td>
{{ game.home_name}}
</td>
- <td>{{ game.home_score }} - {{ game.away_score }}</td>
+ <td>
+ %if game.home_score == None:
+ vs
+ %else:
+ <div class='score hidden {{game.home_name}}
+ {{game.away_name}}'>
+ {{ game.home_score }} - {{ game.away_score }}
+ </div>
+ <div class='noscore {{game.home_name}}
+ {{game.away_name}}'>
+ ? - ?
+ </div>
+ %end
+ </td>
<td>
{{ game.away_name}}
</td>

0 comments on commit b5a5dcf

Please sign in to comment.