diff options
author | Joey Hess <joey@kitenet.net> | 2012-09-10 17:53:51 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-09-10 17:53:51 -0400 |
commit | c20d6f4189e1e0c3a1e8339f772df587fac38748 (patch) | |
tree | 9ea59000b21fa1d24904f843dedbab717bfdccbb /templates | |
parent | b573d91aa27a315fe9b155349a0a90805dc01181 (diff) |
responding to pair requests *almost* works
Diffstat (limited to 'templates')
-rw-r--r-- | templates/configurators/pairing/inprogress.hamlet | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/templates/configurators/pairing/inprogress.hamlet b/templates/configurators/pairing/inprogress.hamlet index 7b655b5a9..5398a9dd2 100644 --- a/templates/configurators/pairing/inprogress.hamlet +++ b/templates/configurators/pairing/inprogress.hamlet @@ -1,10 +1,15 @@ <div .span9 .hero-unit> <h2> Pairing in progress .. - <p> - Now you should either go tell the owner of the computer you want to pair # - with the secret phrase you selected ("#{secret}"), or go enter it into # - the computer you want to pair with. - <p> - You do not need to leave this page open; pairing will finish automatically # - as soon as the secret phrase is entered into the other computer. + $if T.null secret + <p> + You do not need to leave this page open; pairing will finish # + automatically. + $else + <p> + Now you should either go tell the owner of the computer you want to pair # + with the secret phrase you selected ("#{secret}"), or go enter it into # + the computer you want to pair with. + <p> + You do not need to leave this page open; pairing will finish automatically # + as soon as the secret phrase is entered into the other computer. |