Skip to content

Commit 1bb9e58

Browse files
authored
Release 1.2.13 (#161)
1 parent e38c923 commit 1bb9e58

2 files changed

Lines changed: 63 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Unreleased
44

5+
6+
## 1.2.13 - 2025-7-10
7+
- Fixed the document history of the TIR for ods-infra components ([#160](https://github.com/opendevstack/ods-document-generation-templates/pull/160))
8+
59
## 1.2.12 - 2025-4-29
610
- Fixed html parser errors. ([#158](https://github.com/opendevstack/ods-document-generation-templates/pull/158))
711
- Remove Jira issue ID strikethrough on SLC documents. ([#153](https://github.com/opendevstack/ods-document-generation-templates/pull/153))

templates/TIR-infra.html.tmpl

Lines changed: 59 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,65 @@
303303

304304
<div class="page">
305305
<h2 id="section_7"><span>7</span>Document History</h2>
306-
{{#if data.sections.sec1.show}}
306+
{{#if data.documentHistory}}
307+
<table>
308+
<thead>
309+
<th class="lean">Version</th>
310+
<th class="lean">Date</th>
311+
<th class="lean">Author</th>
312+
<th>Change Reference</th>
313+
</thead>
314+
<tbody>
315+
{{#each data.documentHistory}}
316+
<tr>
317+
<td class="lean">{{{docVersion}}}</td>
318+
<td colspan="2" class="content-wrappable">
319+
See Summary of electronic document or signature page
320+
of printout.
321+
</td>
322+
<td class="content-wrappable">
323+
{{{rational}}}
324+
<br />
325+
{{#each issueType}}
326+
{{#if added}}
327+
The following {{ type }} were added:
328+
<ul>
329+
{{#each added}}
330+
<li>
331+
{{ key }}{{#if details}}: {{ details }}{{/if}}
332+
</li>
333+
{{/each}}
334+
</ul>
335+
{{/if}}
336+
{{#if discontinued}}
337+
The following {{ type }} were removed:
338+
<ul>
339+
{{#each discontinued}}
340+
<li>
341+
{{ key }}{{#if details}}: {{ details }}{{/if}}
342+
</li>
343+
{{/each}}
344+
</ul>
345+
{{/if}}
346+
{{#if changed}}
347+
The following {{ type }} were changed:
348+
<ul>
349+
{{#each changed}}
350+
<li>
351+
{{ key }} was previously {{ predecessors }}{{#if details}}: {{ details }}{{/if}}
352+
</li>
353+
{{/each}}
354+
</ul>
355+
{{/if}}
356+
<br />
357+
{{/each}}
358+
</td>
359+
</tr>
360+
{{/each}}
361+
</tbody>
362+
</table>
363+
{{/if}}
364+
{{#if data.sections.sec7.show}}
307365
<table class="no-border">
308366
<tr>
309367
<td class="content-wrappable no-border">{{{data.sections.sec7.content}}}</td>

0 commit comments

Comments
 (0)