-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: TIR helm deployment section reformatted
- Loading branch information
1 parent
f6d18d0
commit ab03d7a
Showing
6 changed files
with
245 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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]]; | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -268,7 +268,6 @@ | |
<td class="lean">{{applicability}}</td> | ||
</tr> | ||
{{/each}} | ||
<p>N/A</p> | ||
</table> | ||
{{/each}} | ||
{{else}} | ||
|
Oops, something went wrong.