Files
Chad Whitacre 28cb48c72a Big changeover from id to username; #287
I sort of did this one with the blast shield down. I haven't even run
the tests yet. The sorts of things I changed:

 - SQL {elsewhere,exchanges}.participant_id => .participant
 - SQL participants.id => .username
 - ORM {user,participant,self}.id => .username
2013-04-05 15:48:59 -04:00

20 lines
578 B
HTML

if not user.ANON:
request.redirect('/%s/' % user.username)
title = "Sign In"
^L
{% extends templates/base.html %}
{% block box %}
<div class="as-content">
<p>Sign in using
<a href="{{ twitter.oauth_url(website, u'opt-in', u'/credit-card.html') }}">Twitter</a>,
<a href="{{ github.oauth_url(website, u'opt-in', u'/credit-card.html') }}">GitHub</a>,
or
<a href="{{ bitbucket.oauth_url(website, u'opt-in', u'/credit-card.html') }}">Bitbucket</a>,
and this page will redirect you to your profile.</p>
<p>Thanks! :-)</p>
</div>
{% end %}