[Jifty-commit] r3619 - in jifty/trunk: lib/Jifty/View/Declare

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Mon Jul 9 05:02:04 EDT 2007


Author: jesse
Date: Mon Jul  9 05:02:03 2007
New Revision: 3619

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/View/Declare/Page.pm

Log:
 r60264 at 102:  jesse | 2007-07-08 21:52:09 -0700
  * Template::Declare behaviour change for "show 'foo'" to now show foo at the current template depth.


Modified: jifty/trunk/lib/Jifty/View/Declare/Page.pm
==============================================================================
--- jifty/trunk/lib/Jifty/View/Declare/Page.pm	(original)
+++ jifty/trunk/lib/Jifty/View/Declare/Page.pm	Mon Jul  9 05:02:03 2007
@@ -82,8 +82,8 @@
 
     div {
         div {
-            show 'salutation';
-            show 'menu';
+            show '/salutation';
+            show '/menu';
         };
         div {
             attr { id is 'content' };
@@ -143,7 +143,7 @@
     my $self = shift;
     my $oldt = get('title');
     set( title => $self->_title );
-    show 'heading_in_wrapper';
+    show '/heading_in_wrapper';
     set( title => $oldt );
 }
 
@@ -187,7 +187,7 @@
 
 sub render_jifty_page_detritus {
 
-    show('keybindings');
+    show('/keybindings');
     with( id => "jifty-wait-message", style => "display: none" ),
         div { _('Loading...') };
 
@@ -204,7 +204,7 @@
     my $title = shift || '';
     $title =~ s/<.*?>//g;    # remove html
     HTML::Entities::decode_entities($title);
-    with( title => $title ), show('header');
+    with( title => $title ), show('/header');
 }
 
 1;


More information about the Jifty-commit mailing list