sign in to join simul

pull/3468/head
Thibault Duplessis 2017-08-18 06:28:51 -05:00
parent 7b4ff8c40e
commit c5f85f2777
2 changed files with 6 additions and 2 deletions

View File

@ -9,5 +9,6 @@ trans.nbPlaying,
trans.nbWins,
trans.nbDraws,
trans.nbLosses,
trans.by
trans.by,
trans.signIn
)))

View File

@ -57,7 +57,10 @@ module.exports = function(ctrl) {
}
},
ctrl.trans('join'))
)) : null,
)) : m('a.button.top_right.text', {
'data-icon': 'G',
href: '/login?referrer=' + window.location.pathname
}, ctrl.trans('signIn')),
util.title(ctrl),
simul.acceptedContainsMe(ctrl) ? m('div.instructions',
'You have been selected! Hold still, the simul is about to begin.'