show swiss tournaments in top menu

pull/6604/head
Thibault Duplessis 2020-05-11 14:38:17 -06:00
parent 8c74ecec6c
commit e9892b884d
2 changed files with 3 additions and 1 deletions

View File

@ -28,7 +28,8 @@ object topnav {
if (ctx.noBot) a(href := "/?any#hook")(trans.createAGame()) if (ctx.noBot) a(href := "/?any#hook")(trans.createAGame())
else a(href := "/?any#friend")(trans.playWithAFriend()), else a(href := "/?any#friend")(trans.playWithAFriend()),
ctx.noBot option frag( ctx.noBot option frag(
a(href := routes.Tournament.home())(trans.tournaments()), a(href := routes.Tournament.home())(trans.arena.arenaTournaments()),
a(href := routes.Swiss.home())(trans.swiss.swissTournaments()),
a(href := routes.Simul.home)(trans.simultaneousExhibitions()) a(href := routes.Simul.home)(trans.simultaneousExhibitions())
) )
) )

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<resources> <resources>
<string name="arenaTournaments">Arena tournaments</string>
<string name="isItRated">Is it rated?</string> <string name="isItRated">Is it rated?</string>
<string name="willBeNotified">You will be notified when the tournament starts, so it is safe to play in another tab while waiting.</string> <string name="willBeNotified">You will be notified when the tournament starts, so it is safe to play in another tab while waiting.</string>
<string name="isRated">This tournament is rated and will affect your rating.</string> <string name="isRated">This tournament is rated and will affect your rating.</string>