Skip to content

Commit

Permalink
chore: TIR helm deployment section reformatted
Browse files Browse the repository at this point in the history
  • Loading branch information
x2odsantelo@boehringer-ingelheim.com committed Oct 11, 2024
1 parent f6d18d0 commit 01d8375
Show file tree
Hide file tree
Showing 6 changed files with 245 additions and 148 deletions.
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Changelog

## Unreleased
- Make risk level column in Overview of Unit Tested Modules (in DTP and DTR) wrappable ([#144](https://github.com/opendevstack/ods-document-generation-templates/pull/144))
- TIR changes: Wording changes to be more inclusive of helm deployments. Also removes language mentioning "pods" as these are dynamic and may change over time ([#146](https://github.com/opendevstack/ods-document-generation-templates/pull/146))


## 1.2.9 - 2024-08-26
- Make risk level column in Overview of Unit Tested Modules (in DTP and DTR) wrappable ([#144](https://github.com/opendevstack/ods-document-generation-templates/pull/144))
- Fix CSD file with block containing N/A always present ([#147](https://github.com/opendevstack/ods-document-generation-templates/pull/147))

## 1.2.8 - 2024-06-06
- RA doc in section 4.1 has got a typo in Description of column Requirement ([#142](https://github.com/opendevstack/ods-document-generation-templates/pull/142))
- Changed the branch name to N/A in the TIP for not included component ([#141](https://github.com/opendevstack/ods-document-generation-templates/pull/141))
Expand Down
21 changes: 21 additions & 0 deletions css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,27 @@ td.content-wrappable table th, td.content-wrappable table td {
white-space: normal;
}

/* Remove all spacing around .inner-ul-2 elements */

td > ul.inner-ul {
list-style-type: none;
padding: 0em;
margin: 0em;
}

li > ul.inner-ul {
list-style-type: none;
padding-left: 1em;
padding-right: 0em;
padding-top: 0em;
padding-bottom: 0em;
}

.inner-span {
display: inline-block;
margin-right: 0em;
}

.center {
text-align: center;
}
Expand Down
48 changes: 33 additions & 15 deletions scripts/scripts.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,39 @@
function subst() {
var vars = {};
var vars = {};

var query_strings_from_url = document.location.search.substring(1).split('&');
for (var query_string in query_strings_from_url) {
if (query_strings_from_url.hasOwnProperty(query_string)) {
var temp_var = query_strings_from_url[query_string].split('=', 2);
vars[temp_var[0]] = decodeURI(temp_var[1]);
var query_strings_from_url = document.location.search
.substring(1)
.split("&");
for (var query_string in query_strings_from_url) {
if (query_strings_from_url.hasOwnProperty(query_string)) {
var temp_var = query_strings_from_url[query_string].split("=", 2);
vars[temp_var[0]] = decodeURI(temp_var[1]);
}
}
}

var css_selector_classes = ['page', 'frompage', 'topage', 'webpage', 'section', 'subsection', 'date', 'isodate', 'time', 'title', 'doctitle', 'sitepage', 'sitepages'];
for (var css_class in css_selector_classes) {
if (css_selector_classes.hasOwnProperty(css_class)) {
var element = document.getElementsByClassName(css_selector_classes[css_class]);
for (var j = 0; j < element.length; ++j) {
element[j].textContent = vars[css_selector_classes[css_class]];
}
var css_selector_classes = [
"page",
"frompage",
"topage",
"webpage",
"section",
"subsection",
"date",
"isodate",
"time",
"title",
"doctitle",
"sitepage",
"sitepages",
];
for (var css_class in css_selector_classes) {
if (css_selector_classes.hasOwnProperty(css_class)) {
var element = document.getElementsByClassName(
css_selector_classes[css_class]
);
for (var j = 0; j < element.length; ++j) {
element[j].textContent = vars[css_selector_classes[css_class]];
}
}
}
}
}
4 changes: 2 additions & 2 deletions templates/CSD-1.html.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@
</table>
{{/each}}
{{else}}
<p>N/A</p>/p>
<p>N/A</p>
{{/if}}


Expand Down Expand Up @@ -268,7 +268,7 @@
</table>
{{/each}}
{{else}}
<p>N/A</p>/p>
<p>N/A</p>
{{/if}}


Expand Down
1 change: 0 additions & 1 deletion templates/CSD-5.html.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,6 @@
<td class="lean">{{applicability}}</td>
</tr>
{{/each}}
<p>N/A</p>
</table>
{{/each}}
{{else}}
Expand Down
Loading

0 comments on commit 01d8375

Please sign in to comment.