sign in to join simul

This commit is contained in:
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.nbWins,
trans.nbDraws, trans.nbDraws,
trans.nbLosses, trans.nbLosses,
trans.by trans.by,
trans.signIn
))) )))

View file

@ -57,7 +57,10 @@ module.exports = function(ctrl) {
} }
}, },
ctrl.trans('join')) 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), util.title(ctrl),
simul.acceptedContainsMe(ctrl) ? m('div.instructions', simul.acceptedContainsMe(ctrl) ? m('div.instructions',
'You have been selected! Hold still, the simul is about to begin.' 'You have been selected! Hold still, the simul is about to begin.'