From 6a82a93697cf4d99a5d08510e67c92a6beb5b4ca Mon Sep 17 00:00:00 2001 From: Matthias Hecht Date: Wed, 25 Jun 2025 19:16:51 +0200 Subject: [PATCH 1/2] align TIR-infra.html.tmpl to TIR.html.tmpl --- templates/TIR-infra.html.tmpl | 60 ++++++++++++++++++++++++++++++++++- 1 file changed, 59 insertions(+), 1 deletion(-) 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}} From e7b505aaeb71ba14a59b255674dec9678e0cf2cb Mon Sep 17 00:00:00 2001 From: Matthias Hecht Date: Wed, 25 Jun 2025 19:24:30 +0200 Subject: [PATCH 2/2] updated changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ae6d0e..bce4bb9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased +- 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))
{{{data.sections.sec7.content}}}