From 9864b4caf188a3361da1e0b221372440cae76a5f Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Wed, 8 Nov 2006 05:11:01 +0000 Subject: [PATCH] add missing template variables and help in CS --- docs/changelog/7.x.x.txt | 1 + lib/WebGUI/Help/Asset_Collaboration.pm | 10 +++++++++- lib/WebGUI/i18n/English/Asset_Collaboration.pm | 5 +++++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 7cb3f88b7..5637cbc9b 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -68,6 +68,7 @@ - fix: WebGUI::Operation::Commerce->listTransactions now adds trailing 0's to prices/totals. - fix: Uncommitted Collaborations and adding threads + - fix: template variable displayLastReply is in none of the CS help files 7.1.3 diff --git a/lib/WebGUI/Help/Asset_Collaboration.pm b/lib/WebGUI/Help/Asset_Collaboration.pm index 60a9da4b0..410d0dcab 100644 --- a/lib/WebGUI/Help/Asset_Collaboration.pm +++ b/lib/WebGUI/Help/Asset_Collaboration.pm @@ -161,6 +161,11 @@ our $HELP = { description => 'get mail help', namespace => 'Asset_Collaboration', }, + { + title => 'display last reply', + description => 'display last reply help', + namespace => 'Asset_Collaboration', + }, { title => 'mail server', description => 'mail server help', @@ -410,7 +415,7 @@ our $HELP = { ] }, - 'collaboration post list template variables' => { + 'collaboration post list template variables' => { ##from appendPostListTemplateVars title => 'collaboration post list template variables title', body => 'collaboration post list template variables body', fields => [ @@ -535,6 +540,9 @@ our $HELP = { fields => [ ], variables => [ + { + 'name' => 'displayLastReply' + }, { 'name' => 'user.canPost' }, diff --git a/lib/WebGUI/i18n/English/Asset_Collaboration.pm b/lib/WebGUI/i18n/English/Asset_Collaboration.pm index c4ac89f38..d42aa0811 100644 --- a/lib/WebGUI/i18n/English/Asset_Collaboration.pm +++ b/lib/WebGUI/i18n/English/Asset_Collaboration.pm @@ -1376,6 +1376,11 @@ used by Collaboration Assets:

lastUpdated => 1149655833, }, + 'displayLastReply' => { + message => q|A conditional that is true if the Collaboration System was configured to display the last reply. If this variable is true, then in the Collaboration Template, the lastReply.* variables will be enabled.|, + lastUpdated => 1149655833, + }, + 'user.isModerator' => { message => q|A conditional that is true if the current user is a moderator for this Asset.|, lastUpdated => 1149655833,