From c20d6f4189e1e0c3a1e8339f772df587fac38748 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 10 Sep 2012 17:53:51 -0400 Subject: responding to pair requests *almost* works --- templates/configurators/pairing/inprogress.hamlet | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'templates') 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 @@

Pairing in progress .. -

- 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. -

- 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 +

+ You do not need to leave this page open; pairing will finish # + automatically. + $else +

+ 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. +

+ 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. -- cgit v1.2.3