Difference between revisions of "Template: RNPrint"
From Genesys Documentation
(Undo revision 94852 by Barry.grenon@genesys.com (talk)) (Tag: Undo) |
|||
Line 5: | Line 5: | ||
|delimiter= | |delimiter= | ||
|where=ComponentRN.ComponentId HOLDS '{{{Component|}}}' AND ReleaseNumber="{{{ReleaseNumber|}}}" AND ComponentRN._pageNamespace="{{NAMESPACENUMBER}}" | |where=ComponentRN.ComponentId HOLDS '{{{Component|}}}' AND ReleaseNumber="{{{ReleaseNumber|}}}" AND ComponentRN._pageNamespace="{{NAMESPACENUMBER}}" | ||
+ | }}<!-- removing release type from display until required | ||
+ | {{#cargo_query: | ||
+ | tables=ComponentRN,ReleaseType=RT | ||
+ | |join on=ComponentRN.ReleaseTypeId=RT.Id | ||
+ | |fields=Label | ||
+ | |where=ComponentRN.ComponentId HOLDS '{{{Component|}}}' AND ReleaseNumber="{{{ReleaseNumber|}}}" | ||
+ | }}--></h2> {{AnchorDiv|{{{ComponentName|}}}-{{{ReleaseNumber|}}}}}{{#if:{{{PrivateEditionReleaseDate}}}|{{#cargo_query: | ||
+ | tables=ComponentRN,DeploymentType=DT | ||
+ | |join on=ComponentRN.DeploymentTypeId HOLDS DT.Id | ||
+ | |fields=CONCAT('[[File:',DT.Image,'|30px|link={{#switch:{{NAMESPACENUMBER}}|620=Draft:|#default=}}ReleaseNotes/Current/GenesysEngage-cloud/PrivateEdition]] ') | ||
+ | |delimiter= | ||
+ | |where=ComponentRN.ComponentId HOLDS '{{{Component|}}}' AND ReleaseNumber="{{{ReleaseNumber|}}}" AND ComponentRN._pageNamespace="{{NAMESPACENUMBER}}" AND DT.Name="Private Edition" | ||
+ | }}{{Link-AnywhereElse|product=ReleaseNotes|version=Current|manual=GenesysEngage-cloud|topic=PrivateEdition|display text=Private edition}}: {{{ReleaseNumber|}}} available {{#time:F d, Y|{{{PrivateEditionReleaseDate|}}}}}|}} | ||
+ | {{#cargo_query: | ||
+ | tables=ComponentRN,Issue,IssueCategory | ||
+ | |join on=ComponentRN._pageName=Issue._pageName,Issue.IssueCategoryId=IssueCategory.Id | ||
+ | |fields=CONCAT('<h3>',IssueCategory.SectionName,'</h3>')=Name,IF (SupportingDocumentation IS NOT NULL, CONCAT (LocalContent,IF (Issue.TicketNumber IS NOT NULL, CONCAT (' (',Issue.TicketNumber,')'), ' '),' </br><b>More info</b>: ' ,SupportingDocumentation),CONCAT (LocalContent,IF (Issue.TicketNumber IS NOT NULL, CONCAT(' (',Issue.TicketNumber,')'), ' '))) | ||
+ | |format=outline | ||
+ | |outline fields=Name | ||
+ | |where=ComponentRN.ComponentId HOLDS '{{{Component|}}}' AND ReleaseNumber="{{{ReleaseNumber|}}}" AND LocalContent IS NOT NULL AND IssueCategoryId IS NOT NULL AND ComponentRN._pageNamespace="{{NAMESPACENUMBER}}" | ||
+ | |order by=IssueCategory.PrintOrder ASC | ||
}} | }} | ||
__NOCACHE__ | __NOCACHE__ | ||
{{#switch:{{NAMESPACENUMBER}}|620=<span style="font-size:80%">[[{{{Page|}}}|(Link to source)]]</span>|#default=}}</includeonly><noinclude>[[Category:RNAutomation]]</noinclude> | {{#switch:{{NAMESPACENUMBER}}|620=<span style="font-size:80%">[[{{{Page|}}}|(Link to source)]]</span>|#default=}}</includeonly><noinclude>[[Category:RNAutomation]]</noinclude> |