From 9e714fa09a5ee0b17bb1a835ef3a4bb4f17e107c Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Mon, 8 Nov 2010 14:13:31 -0800 Subject: [PATCH] Fix template variable help for Navigation, page.depthDiff. Fixes bug #11952. --- docs/changelog/7.x.x.txt | 1 + lib/WebGUI/i18n/English/Asset_Navigation.pm | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 1dc2619df..9819efb45 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -1,6 +1,7 @@ 7.10.5 - fixed #11950: Username set to 0 when edit user - fixed #11946: Double time zone correction when addding an event + - fixed #11952: Navigation template help error 7.10.4 - Added WebGUI::Fork api diff --git a/lib/WebGUI/i18n/English/Asset_Navigation.pm b/lib/WebGUI/i18n/English/Asset_Navigation.pm index 605e6abb6..f18b30de1 100644 --- a/lib/WebGUI/i18n/English/Asset_Navigation.pm +++ b/lib/WebGUI/i18n/English/Asset_Navigation.pm @@ -421,8 +421,8 @@ the Navigation Template to determine who can see them in the menu.

}, 'page.depthDiff' => { - message => q|The difference in depth between the previous page and this page, parent.absDepth - page.absDepth, although parent.absDepth is not a template variable.|, - lastUpdated => 1149394665, + message => q|The difference in depth between the previous page and this page, previous.absDepth - page.absDepth, although previous.absDepth is not a template variable. For the very first page (which has no previous page), this is set to 0.|, + lastUpdated => 1289253145, }, 'page.depthDiffIsN' => {