diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ae6d0e..89a6d3d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased + +## 1.2.13 - 2025-7-10 +- Fixed the document history of the TIR for ods-infra components ([#160](https://github.com/opendevstack/ods-document-generation-templates/pull/160)) + ## 1.2.12 - 2025-4-29 - Fixed html parser errors. ([#158](https://github.com/opendevstack/ods-document-generation-templates/pull/158)) - Remove Jira issue ID strikethrough on SLC documents. ([#153](https://github.com/opendevstack/ods-document-generation-templates/pull/153)) diff --git a/templates/TIR-infra.html.tmpl b/templates/TIR-infra.html.tmpl index 9dd190c..8f18b29 100644 --- a/templates/TIR-infra.html.tmpl +++ b/templates/TIR-infra.html.tmpl @@ -303,7 +303,65 @@

7Document History

- {{#if data.sections.sec1.show}} + {{#if data.documentHistory}} + + + + + + + + + {{#each data.documentHistory}} + + + + + + {{/each}} + +
VersionDateAuthorChange Reference
{{{docVersion}}} + See Summary of electronic document or signature page + of printout. + + {{{rational}}} +
+ {{#each issueType}} + {{#if added}} + The following {{ type }} were added: +
    + {{#each added}} +
  • + {{ key }}{{#if details}}: {{ details }}{{/if}} +
  • + {{/each}} +
+ {{/if}} + {{#if discontinued}} + The following {{ type }} were removed: +
    + {{#each discontinued}} +
  • + {{ key }}{{#if details}}: {{ details }}{{/if}} +
  • + {{/each}} +
+ {{/if}} + {{#if changed}} + The following {{ type }} were changed: +
    + {{#each changed}} +
  • + {{ key }} was previously {{ predecessors }}{{#if details}}: {{ details }}{{/if}} +
  • + {{/each}} +
+ {{/if}} +
+ {{/each}} +
+ {{/if}} + {{#if data.sections.sec7.show}}
{{{data.sections.sec7.content}}}