mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-25 23:12:29 -05:00
22 lines
686 B
Text
22 lines
686 B
Text
|
extends /templates/base
|
||
|
|
||
|
block content
|
||
|
|
||
|
if callbackURL && callbackSource && callbackID
|
||
|
h3 Share your username?
|
||
|
p
|
||
|
| #{callbackSource} would like to know that you are #{me.get('name') || 'you'} on CodeCombat.
|
||
|
if me.get('anonymous')
|
||
|
br
|
||
|
button.btn.btn-lg.btn-default.header-font.login-button(data-i18n="login.log_in")
|
||
|
else if me.get('name')
|
||
|
a.spl.spr(href="#{callbackURL}") Click here
|
||
|
| to share your username.
|
||
|
else
|
||
|
| But you don't have a username yet. Set one
|
||
|
a.spl(href="/account/settings") here
|
||
|
| .
|
||
|
else
|
||
|
h3 Invalid identify URL.
|
||
|
p callbackID, callbackURL, and callbackSource are needed.
|