[Jifty-commit] r3624 - jifty/branches/trimclient/examples/Yada/lib/Yada

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Mon Jul 9 09:17:17 EDT 2007


Author: clkao
Date: Mon Jul  9 09:17:17 2007
New Revision: 3624

Modified:
   jifty/branches/trimclient/examples/Yada/lib/Yada/View.pm

Log:
faq fragment can now be purely clientside.

Modified: jifty/branches/trimclient/examples/Yada/lib/Yada/View.pm
==============================================================================
--- jifty/branches/trimclient/examples/Yada/lib/Yada/View.pm	(original)
+++ jifty/branches/trimclient/examples/Yada/lib/Yada/View.pm	Mon Jul  9 09:17:17 2007
@@ -25,18 +25,19 @@
 };
 
 template '_faq' => sub :Static {
+    hyperlink(label => 'close', onclick => [{replace_with => '/__jifty/empty'}]);
+
     div {
         attr { id => "faq" };
-        h2 { _('Using Doxory') }
+        h2 { _('Using Yada') }
         dl {
-            dt { 'What kinds of questions can I ask?'}
+            dt { 'Yada Yada Yada!'}
             dd {
                 span {
-                    'The best kinds of questions to ask are existential dilemmas.'
+                    'are we nearly there yet?'
                 }
 	    }
-	}
-	hyperlink(label => 'close', onclick => [{replace_with => '/__jifty/empty'}])
+	};
     }
 };
 


More information about the Jifty-commit mailing list