From 549ebec53bd178a43973761f2418e44ef724da5c Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Fri, 9 Mar 2012 21:48:28 +0100 Subject: [PATCH] MINOR Fixed preview link ($CurrentPage stopped working at some point..) (fixes #6940) --- admin/templates/Includes/LeftAndMain_EditForm.ss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/templates/Includes/LeftAndMain_EditForm.ss b/admin/templates/Includes/LeftAndMain_EditForm.ss index 9337ea924..5993330c4 100644 --- a/admin/templates/Includes/LeftAndMain_EditForm.ss +++ b/admin/templates/Includes/LeftAndMain_EditForm.ss @@ -58,8 +58,8 @@ <% control Actions %> $Field <% end_control %> - <% if CurrentPage.PreviewLink %> - + <% if Controller.PreviewLink %> + <% _t('LeftAndMain.PreviewButton', 'Preview') %> » <% end_if %>