Note on a purl error that is bound to happen, properly link purl text

This commit is contained in:
Tyler Renelle 2012-07-11 19:44:52 -04:00
parent 2fb44543d7
commit 584dd1c4b0
2 changed files with 4 additions and 1 deletions

View file

@ -47,6 +47,9 @@ view.fn "silver", (num) ->
get '/:userId?', (page, model, {userId}) ->
# Saved session
# TODO: this doesn't check that the user at guid exists, and
# will probably error since no user is created. Will only happen if
# first access, but still
if userId?# and model.get(userId)?
model.set '_session.userId', userId
return getRoom page, model, userId

View file

@ -11,7 +11,7 @@
<a class='btn pull-right' onClick="$('#copy-link-section').toggle();"><i class=icon-user></i></a><br/>
<div id=copy-link-section style='display:none;' class=well>
<h3>Secret Link</h3>
<p>Authentication isn't yet available (<a href="https://github.com/lefnire/habitrpg">follow progress here</a>),<br/>
<p>Authentication isn't yet available (<a href="https://github.com/lefnire/habitrpg#how-do-i-log-in--save-my-data">follow progress here</a>),<br/>
In the meantime a persistent URL can be used accross <br/>
browsers to access your data. Bookmark the following URL.</p>
<input type=text class=input-xlarge value="{_purl}" onClick="$(this).select();"/>