Difference between revisions of "Template: RNPrint"

From Genesys Documentation
Jump to: navigation, search
(Install package: RN Automation)
 
(Update package: RN Automation)
Line 1: Line 1:
<includeonly><h2>{{#time:F d, Y|{{{ReleaseDate|}}}}} ({{{ReleaseNumber|}}}) </h2>
+
<includeonly><h2>{{{ComponentName|}}}: {{#if:{{{ReleaseDate|}}}|{{#time:F d, Y|{{{ReleaseDate|}}}}}|<span style="background-color:yellow">Date needed</span>}} {{#cargo_query:
 
+
tables=ComponentRN,DeploymentType=DT
 +
|join on=ComponentRN.DeploymentTypeId HOLDS DT.Id
 +
|fields=CONCAT('[[File:',DT.Image,'|80px]]')
 +
|delimiter=
 +
|where=ComponentRN.ComponentId HOLDS '{{{Component|}}}' AND ReleaseNumber="{{{ReleaseNumber|}}}"
 +
}}</h2>
 +
{{AnchorDiv|{{{ReleaseNumber|}}}}}
 
{{#cargo_query:
 
{{#cargo_query:
tables=ComponentRN,JiraIssue
+
tables=ComponentRN,JiraIssue,IssueType
|join on=ComponentRN._pageName=JiraIssue._pageName
+
|join on=ComponentRN._pageName=JiraIssue._pageName,JiraIssue.IssueType=IssueType.Id
|fields=CONCAT('<h3>',IF (Type="New","What's New", Type),'</h3>')=Type,LocalContent
+
|fields=CONCAT('<h3>',IssueType.SectionName,'</h3>')=Name,IF (SupportingDocumentation IS NOT NULL, CONCAT (LocalContent,'</br><b>More info</b>: ',SupportingDocumentation), LocalContent)
 
|format=outline
 
|format=outline
|outline fields=Type
+
|outline fields=Name
|where=ComponentRN.ComponentId HOLDS '{{{Component|}}}' AND ReleaseNumber="{{{ReleaseNumber|}}}" AND LocalContent IS NOT NULL AND Type IS NOT NULL
+
|where=ComponentRN.ComponentId HOLDS '{{{Component|}}}' AND ReleaseNumber="{{{ReleaseNumber|}}}" AND LocalContent IS NOT NULL AND IssueType IS NOT NULL
|order by=Type DESC
+
|order by=IssueType.PrintOrder ASC
 
}}
 
}}
 +
__NOCACHE__
 
<span style="font-size:80%">[[{{{Page|}}}|(Link to source)]]</span></includeonly><noinclude>[[Category:RNAutomation]]</noinclude>
 
<span style="font-size:80%">[[{{{Page|}}}|(Link to source)]]</span></includeonly><noinclude>[[Category:RNAutomation]]</noinclude>

Revision as of 14:02, February 25, 2021

Retrieved from "https://all.docs.genesys.com/Template:RNPrint (2024-10-06 20:01:57)"