[Jifty-commit] r2321 - in jifty/trunk: share/web/templates/__jifty/error

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Mon Dec 4 19:12:15 EST 2006


Author: jesse
Date: Mon Dec  4 19:12:14 2006
New Revision: 2321

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/share/web/templates/__jifty/error/mason_internal_error

Log:
 r45809 at 111:  jesse | 2006-12-04 19:11:54 -0500
 * My fix of the internal error template was...incorrect. Fixed now
 


Modified: jifty/trunk/share/web/templates/__jifty/error/mason_internal_error
==============================================================================
--- jifty/trunk/share/web/templates/__jifty/error/mason_internal_error	(original)
+++ jifty/trunk/share/web/templates/__jifty/error/mason_internal_error	Mon Dec  4 19:12:14 2006
@@ -25,17 +25,17 @@
 %     for (map {$_->[1]} @{Jifty->handler->mason->interp->comp_root}) {
 %       last if $path =~ s/^\Q$_\E//;
 %     }
-%     if ($path ne $file) {
+%    if ($path ne $file) {
 template <% Jifty->web->tangent( url =>"/__jifty/edit/mason_component$path",
                                  label => _("%1 line %2", $path, $line),
                                  parameters => { line => $line } ) %>
-%     } else {
+%    } else {
 <% Jifty->web->tangent( url =>"/__jifty/edit/library$path",
                         label => _("%1 line %2", $path, $line),
                         parameters => { line => $line } ) %>
-%   } else {
-<%_("%1 line %2", $path, $line)%>
 %   }
+%  } else {
+<% _("%1 line %2", $file, $line) %>
 % }
 </%def>
 


More information about the Jifty-commit mailing list