diff --git a/lib/WebGUI/Help/Asset_Collaboration.pm b/lib/WebGUI/Help/Asset_Collaboration.pm index fa476b576..a1d6305c4 100644 --- a/lib/WebGUI/Help/Asset_Collaboration.pm +++ b/lib/WebGUI/Help/Asset_Collaboration.pm @@ -19,6 +19,17 @@ our $HELP = { ] }, + 'collaboration post list template variables' => { + title => 'collaboration post list template variables title', + body => 'collaboration post list template variables body', + related => [ + { + tag => 'asset fields', + namespace => 'Asset' + }, + ] + }, + }; 1; diff --git a/lib/WebGUI/i18n/English/Asset_Collaboration.pm b/lib/WebGUI/i18n/English/Asset_Collaboration.pm index fc121aed5..537c54e21 100644 --- a/lib/WebGUI/i18n/English/Asset_Collaboration.pm +++ b/lib/WebGUI/i18n/English/Asset_Collaboration.pm @@ -904,6 +904,157 @@ Enable moderation for Posts to the Collaboration Asset. |, lastUpdated => 1113974026, }, + + 'collaboration post list template variables title' => { + message => q|Collaboration, Post List Template Variables|, + lastUpdated => 1113673895, + }, + + 'collaboration post list template variables body' => { + message => q|These variables are available in several of the templates +used by Collaboration Assets:

+ +

+post_loop
+A list of posts for this Collateral Asset. + +

+ +

+Asset variables
+The variables common to all Assets, such as title, menuTitle, etc. + +

+id
+The AssetId of this Post. + +

+url
+The URL of this Post. + +

+rating_loop
+A loop that runs once for each point of rating that the Post has + +

+ +

+rating_loop.count
+The index variable for the rating_loop. + +

+ +

+content
+The formatted content of this Post. + +

+status
+The status of this Post. + +

+thumbnail
+If this Post has a attachements, the URL for the thumbnail of the first image attachement. + +

+image.url
+If this Post has a attachements, the URL for the first image attachement. + +

+dateSubmitted.human
+The date this Post was submitted, in a human readable format. + +

+dateUpdated.human
+The date this Post was last updated, in a human readable format. + +

+timeSubmitted.human
+The time this Post was submitted, in a human readable format. + +

+timeUpdated.human
+The time this Post was last updated, in a human readable format. + +

+userProfile.url
+The URL to the Profile of the User who submitted this Post. + +

+user.isVisitor
+A conditional that is true if the poster is a visitor. + +

+edit.url
+The URL to edit this Post. + +

+controls
+A set of editing icons to delete or re-order this Post. + +

+inDateRange
+A conditional indicating that the current time is greater than the start date and less than +the end date. + +

+isSecond
+A conditional indicating that is true if this Post is the second in this Collaboration Asset. + +

+isThird
+A conditional indicating that is true if this Post is the third in this Collaboration Asset. + +

+isFourth
+A conditional indicating that is true if this Post is the fourth in this Collaboration Asset. + +

+isFifth
+A conditional indicating that is true if this Post is the fifth in this Collaboration Asset. + +

+user.isPoster
+A conditional indicating that is true if the current user submitted this Post. + +

+lastReply.*
+These variables are only defined if the Display last reply property is set to true +in the Collaboration Asset. + +

+lastReply.url
+The URL to the last reply to this Post. + +

+lastReply.title
+The title of the last reply. + +

+lastReply.user.isVisitor
+A conditional that is true if the poster of the last reply is a visitor. + +

+lastReply.username
+The name of user who submitted the last reply. + +

+lastReply.userProfile.url
+The URL to the Profile of the User who submitted this Post. + +

+lastReply.dateSubmitted.human
+The date the last reply was submitted, in a human readable format. + +

+lastReply.timeSubmitted.human
+The time the last reply was submitted, in a human readable format. + +

+ + |, + lastUpdated => 1114148028, + }, };