Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
60 changes: 59 additions & 1 deletion templates/TIR-infra.html.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,65 @@

<div class="page">
<h2 id="section_7"><span>7</span>Document History</h2>
{{#if data.sections.sec1.show}}
{{#if data.documentHistory}}
<table>
<thead>
<th class="lean">Version</th>
<th class="lean">Date</th>
<th class="lean">Author</th>
<th>Change Reference</th>
</thead>
<tbody>
{{#each data.documentHistory}}
<tr>
<td class="lean">{{{docVersion}}}</td>
<td colspan="2" class="content-wrappable">
See Summary of electronic document or signature page
of printout.
</td>
<td class="content-wrappable">
{{{rational}}}
<br />
{{#each issueType}}
{{#if added}}
The following {{ type }} were added:
<ul>
{{#each added}}
<li>
{{ key }}{{#if details}}: {{ details }}{{/if}}
</li>
{{/each}}
</ul>
{{/if}}
{{#if discontinued}}
The following {{ type }} were removed:
<ul>
{{#each discontinued}}
<li>
{{ key }}{{#if details}}: {{ details }}{{/if}}
</li>
{{/each}}
</ul>
{{/if}}
{{#if changed}}
The following {{ type }} were changed:
<ul>
{{#each changed}}
<li>
{{ key }} was previously {{ predecessors }}{{#if details}}: {{ details }}{{/if}}
</li>
{{/each}}
</ul>
{{/if}}
<br />
{{/each}}
</td>
</tr>
{{/each}}
</tbody>
</table>
{{/if}}
{{#if data.sections.sec7.show}}
<table class="no-border">
<tr>
<td class="content-wrappable no-border">{{{data.sections.sec7.content}}}</td>
Expand Down