Difference between revisions of "Template: RNPrint"
From Genesys Documentation
(Install package: RN Automation) |
(Update package: RN Automation) |
||
Line 1: | Line 1: | ||
− | <includeonly><h2>{{#time:F d, Y|{{{ReleaseDate|}}}}} ({{{ReleaseNumber|}}} | + | <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 ( | + | |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= | + | |outline fields=Name |
− | |where=ComponentRN.ComponentId HOLDS '{{{Component|}}}' AND ReleaseNumber="{{{ReleaseNumber|}}}" AND LocalContent IS NOT NULL AND | + | |where=ComponentRN.ComponentId HOLDS '{{{Component|}}}' AND ReleaseNumber="{{{ReleaseNumber|}}}" AND LocalContent IS NOT NULL AND IssueType IS NOT NULL |
− | |order by= | + | |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> |