diff options
-rw-r--r-- | draughts/views/splash.ejs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/draughts/views/splash.ejs b/draughts/views/splash.ejs index 335a347..55a24bd 100644 --- a/draughts/views/splash.ejs +++ b/draughts/views/splash.ejs @@ -16,22 +16,22 @@ <p>The record for the minimum amount of moves is: <%= minimumMoves %></p> <p>The average player completes a game in <%= averageMoves %> <%if (averageMoves != 1) { %> - moves + moves <% } else { %> move <% } %> </p> <p>There - <%if (ongoingGames < 1) { %> - are - <% } else { %> + <%if (ongoingGames == 1) { %> is + <% } else { %> + are <% } %> <%= ongoingGames %> - <%if (ongoingGames < 1) { %> - games - <% } else { %> + <%if (ongoingGames == 1) { %> game + <% } else { %> + games <% } %> currently ongoing</p> </div> @@ -67,4 +67,4 @@ </div> </body> -</html>
\ No newline at end of file +</html> |